aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-04 02:08:42 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-04 02:08:42 -0700
commitcc30b361cd6e7bbfe313f610cd057a4426664f2b (patch)
treee745d55b10fbb122efda1c81abaee76be1ae0855 /README.md
parent338049020a17831e68b6a437bb038d8f10bfc45e (diff)
downloadreference-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.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index f0e69a2..249fb84 100644
--- a/README.md
+++ b/README.md
@@ -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
```