init commit

This commit is contained in:
Moritz Gmeiner 2024-09-07 01:51:08 +02:00
commit 9a17038479
11 changed files with 71 additions and 0 deletions

11
src/cl-lox.lisp Normal file
View 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))