mirror of
https://github.com/MorizzG/cl-lox.git
synced 2025-12-06 04:22:42 +00:00
init commit
This commit is contained in:
commit
9a17038479
11 changed files with 71 additions and 0 deletions
11
src/cl-lox.lisp
Normal file
11
src/cl-lox.lisp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(in-package :cl-lox)
|
||||
|
||||
|
||||
(defun main ()
|
||||
(let* ((argv (uiop:command-line-arguments)) (argc (length argv)))
|
||||
(cond ((= argc 0) (run-repl))
|
||||
((= argc 1) (run-file :path (car argv))))))
|
||||
|
||||
|
||||
(defun make-exe ()
|
||||
(sb-ext:save-lisp-and-die "cl-lox" :toplevel #'main :executable t))
|
||||
Loading…
Add table
Add a link
Reference in a new issue