diff options
author | Melody Horn <melody@boringcactus.com> | 2020-11-04 02:08:42 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-11-04 02:08:42 -0700 |
commit | cc30b361cd6e7bbfe313f610cd057a4426664f2b (patch) | |
tree | e745d55b10fbb122efda1c81abaee76be1ae0855 /README.md | |
parent | 338049020a17831e68b6a437bb038d8f10bfc45e (diff) | |
download | reference-compiler-cc30b361cd6e7bbfe313f610cd057a4426664f2b.tar.gz reference-compiler-cc30b361cd6e7bbfe313f610cd057a4426664f2b.zip |
add more arguments to behave more like gcc
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -7,7 +7,8 @@ requirements: 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] + [--stop-at-qbe-ssa] [-S] [-c] [-D DEFINE_CONSTANT] + [-I INCLUDE_DIR] [-o OUT] input The reference compiler for the Crowbar programming language @@ -22,5 +23,10 @@ optional arguments: --stop-at-parse-tree --stop-at-qbe-ssa -S, --stop-at-assembly + -c, --stop-at-object + -D DEFINE_CONSTANT, --define-constant DEFINE_CONSTANT + define a constant with some literal value + -I INCLUDE_DIR, --include-dir INCLUDE_DIR + folder to look for included headers within -o OUT, --out OUT output file ``` |