Home

Awesome

tan programming language

codecov

Work In Progress

tan has been my hobby project for several years now. It helped me tremendously on understanding how compilers work, how large-scale software is structured (I read a lot of LLVM source code LOL), and how programming languages are designed. It will become a playground for me to work on interesting language designs. Needless to say, the design is never intended to be "better than xxx language".

I currently want it to:

Quickstart

A Quick Peek

See *.tan files under test/test_exec for some examples.

Prerequisites

Building and Testing

tan uses CMake as its build system. Run the following command in project root directory to build and run all tests.

mkdir -p build
cd build
cmake ..
make tests

Platforms

PlatformStatusNote
Linux:heavy_check_mark:Only tested on Ubuntu 20.04 for now
Windows:heavy_exclamation_mark:Build successfully, but clang doesn't run correctly on my machine
Mac:x:I don't have a mac. Mac is for superior people

CMake options

Documentation

Doxygenhttps://tjysdsg.github.io/tan/html/index.html
Some markdown files in the source codeSearch under src

Project Structure