summaryrefslogtreecommitdiff
path: root/main.lisp
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-08-08 17:13:29 +0300
committermRnea <akannemre@gmail.com>2024-08-08 17:13:29 +0300
commit1056b74b115f2a0a5cdb6b05fffc6eb476fb1f3c (patch)
tree1e7b7c22ef9aeba4dfd52959b21b6beb30849e97 /main.lisp
parentb2155903956b6ddf41ed64fccb4263858fff8d4f (diff)
Begin C code generation.
Diffstat (limited to 'main.lisp')
-rw-r--r--main.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lisp b/main.lisp
index 0b29edb..182d748 100644
--- a/main.lisp
+++ b/main.lisp
@@ -12,7 +12,7 @@
;; (let ((program (prog-from-tokens tokens)))
;; (format t "~s~%" program)
;; (generate-program program :compile t)))
- (compile-program (second args)))
+ (generate-program (make-program (second args)) :compile t))
((string= flag "-i")
(interpret-program (make-program (second args))))
((string= flag "-p")