diff options
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +the reference compiler for the [Crowbar](https://sr.ht/~boringcactus/crowbar-lang/) language. + +requirements: +* [QBE](https://c9x.me/compile/) installed somewhere on your PATH +* gcc + +usage (i probably will forget to update this so [check directly](https://git.sr.ht/~boringcactus/crowbar-reference-compiler/tree/main/crowbar_reference_compiler/__init__.py)): +``` +usage: crowbarc-reference [-h] [-V] [-g] [--stop-at-parse-tree] + [--stop-at-qbe-ssa] [-S] [-o OUT] + input + +The reference compiler for the Crowbar programming language + +positional arguments: + input input file + +optional arguments: + -h, --help show this help message and exit + -V, --version show program's version number and exit + -g, --include-debug-info + --stop-at-parse-tree + --stop-at-qbe-ssa + -S, --stop-at-assembly + -o OUT, --out OUT output file +``` |