Experimental MLIR-based compiler.
Totally designed manually, documented with DeepSeek.
Syntax Design (generated by deepseek v4)
Fetch the package of LLVM, --github will use the release from GitHub.
python3 script/download_llvm.py
python3 script/download_llvm.py --githubUse this command to automatically build all things.
python3 script/build.pyUse this command automatically test all tests listed in test directory.
python3 script/test.pyAll tests should have stdout and stderr files, for example:
test/test_add.colgm
test/test_add.colgm.stdout
test/test_add.colgm.stderr
test/test_add.colgm.option # if need specific compile options for this test