diff options
author | mRnea <[email protected]> | 2024-08-09 15:01:12 +0300 |
---|---|---|
committer | mRnea <[email protected]> | 2024-08-09 15:01:12 +0300 |
commit | 9f9956e8893f16f4bc4b261597e03877830d1c6f (patch) | |
tree | c04d720b6ee87e2e7cfe1971b663a86bf215a039 /main.lisp | |
parent | e7b5f4fec78a09cc3ad8cf23e1f5a9b63638e187 (diff) |
added interpreter again
Diffstat (limited to 'main.lisp')
-rw-r--r-- | main.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,12 +13,12 @@ ;; (format t "~s~%" program) ;; (generate-program program :compile t))) (generate-program (make-program (second args)) :compile t)) - ((string= flag "-i") - (interpret-program (make-program (second args)))) ((string= flag "-p") (format t "~a" (make-program (second args)))) ((string= flag "-t") (run-tests)) + ((string= flag "-s") + (simulate-program (make-program (second args)))) (t (format t "~a is not a valid flag~%" flag)))))) ;; (defun make-exe () |