summaryrefslogtreecommitdiff
path: root/main.lisp
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-08-03 12:03:58 +0300
committermRnea <akannemre@gmail.com>2024-08-03 12:03:58 +0300
commit38927a2169b9a99b0936122121ba849e109248df (patch)
treec6764b7875e1935be52feab378fe5d452a2344f5 /main.lisp
parent8713ffbd95483fc8b6778fb2d4d67659b6217c42 (diff)
added some basic tests
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 8a90c32..701aa9e 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 "-t")
+ (run-tests))
(t (format t "~a is not a valid flag~%" flag))))))
;; (defun make-exe ()