From 8fe495a61e4a85be1934e5205a6f036900ee45d0 Mon Sep 17 00:00:00 2001 From: Shagun Agrawal Date: Thu, 19 Sep 2024 22:54:27 +0530 Subject: Add driver option and lexing stage for functions Ch 9 --- src/cljcc/cljcc.clj | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cljcc/cljcc.clj') 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] -- cgit v1.2.3