about summary refs log tree commit diff stats
path: root/comal.lsp
diff options
context:
space:
mode:
authorDarren Bane <darren.bane@gmail.com>2020-05-11 01:15:06 +0100
committerDarren Bane <darren.bane@gmail.com>2020-05-11 01:15:06 +0100
commitc066ab2a55a069802009568a051673b3505503d4 (patch)
tree3cf0613bb334461c1f39f55a78a4ff79d3fb971f /comal.lsp
parent5eba13b70414e1a40ef2418978082c6e4ac37c19 (diff)
downloadlsp-c066ab2a55a069802009568a051673b3505503d4.tar.gz
Lots of unfinished stuff
Diffstat (limited to 'comal.lsp')
-rw-r--r--comal.lsp16
1 files changed, 16 insertions, 0 deletions
diff --git a/comal.lsp b/comal.lsp
new file mode 100644
index 0000000..de603ad
--- /dev/null
+++ b/comal.lsp
@@ -0,0 +1,16 @@
+;; Does it make more sense to write everything in Lisp rather than a split Lisp/COMAL design?
+
+(defun one-command-h (c)
+   (case (car c)
+         ((line) (insert (cadr c)))
+         ((p-end) (signal-condition (create (class <simple-error>))))))
+
+(defun main-loop (program env)
+   
+
+(defun main-h ()
+   (format (standard-output) "OpenCOMAL version 0.4~%~%")
+   (main-loop nil nil))
+
+(defun bye ()
+   (format (standard-output) "See you later...~%"))