- Do
circle-lang <file-name>
to interpret a file. - Do
circle-lang <file-name> --debug
to debug a circle lang program. - Do
circle-lang <file-name> --from-bf
to transpile a Brainfuck program into a circle lang program.
- CMake >= 3.28
- clang >= 18.1.2
- ninja >= 1.11
- vcpkg
- Choose your c/c++ compiler with environment variables
CC
andCXX
. E.g.export CXX=clang++-18 CC=clang-18
. - run
sh make.sh
. - run
sh run.sh <source-file-name>
. - The binary can be found in
./build/circle-lang
.
- Modify vcpkg.json
- run
sh make.sh
- Modify CmakeLists.txt
Check out documentation.md and guide.md.