aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/cljcc.clj
diff options
context:
space:
mode:
authorShagun Agrawal <agrawalshagun07@gmail.com>2024-09-19 22:54:27 +0530
committerShagun Agrawal <agrawalshagun07@gmail.com>2024-09-19 22:54:27 +0530
commit8fe495a61e4a85be1934e5205a6f036900ee45d0 (patch)
tree11ea07d20186636269374401db9648ab8b3f8f1a /src/cljcc/cljcc.clj
parent055c4478ecf882d918cfdfbd884b42d83fc8b1fd (diff)
Add driver option and lexing stage for functions Ch 9
Diffstat (limited to 'src/cljcc/cljcc.clj')
-rw-r--r--src/cljcc/cljcc.clj2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cljcc/cljcc.clj b/src/cljcc/cljcc.clj
index f63ebed..3aeea48 100644
--- a/src/cljcc/cljcc.clj
+++ b/src/cljcc/cljcc.clj
@@ -22,6 +22,8 @@
[nil "--validate" "Runs semantic analyzer. Does not emit any files."]
[nil "--tacky" "Runs tacky generation. Does not emit any files."]
[nil "--codegen" "Runs compiler. Does not emit any files."]
+ ["-c" nil "Generate object file."
+ :id :generate-object-file]
["-h" "--help"]])
(defn validate-args [args]