summaryrefslogtreecommitdiff
path: root/main.lisp
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-08-06 23:02:14 +0300
committermRnea <akannemre@gmail.com>2024-08-06 23:02:14 +0300
commitb2155903956b6ddf41ed64fccb4263858fff8d4f (patch)
tree5f9e8dcbac77baedac8817e0f01cfae978f75e69 /main.lisp
parentd98974584558ca32db04fc6a47a692dc4ba0143d (diff)
defop uses generic functions now. extended stack syntax
Diffstat (limited to 'main.lisp')
-rw-r--r--main.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.lisp b/main.lisp
index 701aa9e..0b29edb 100644
--- a/main.lisp
+++ b/main.lisp
@@ -15,6 +15,8 @@
(compile-program (second args)))
((string= flag "-i")
(interpret-program (make-program (second args))))
+ ((string= flag "-p")
+ (format t "~a" (make-program (second args))))
((string= flag "-t")
(run-tests))
(t (format t "~a is not a valid flag~%" flag))))))