From cc30b361cd6e7bbfe313f610cd057a4426664f2b Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 4 Nov 2020 02:08:42 -0700 Subject: add more arguments to behave more like gcc --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') 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 ``` -- cgit v1.2.3