Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.04 KB

Circle Lang: The perfect programming language

  • 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.

How to build and run this project

Requirements

  • CMake >= 3.28
  • clang >= 18.1.2
  • ninja >= 1.11
  • vcpkg

Steps

  • Choose your c/c++ compiler with environment variables CC and CXX. 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.

Add dependencies

  • Modify vcpkg.json
  • run sh make.sh
  • Modify CmakeLists.txt

Sample programs

Working with Circle Lang

Check out documentation.md and guide.md.