From 2b73c245b2da259ff72a3a29ccd7211a6429c0cf Mon Sep 17 00:00:00 2001 From: Pekka Laiho Date: Tue, 26 May 2020 15:43:59 +0700 Subject: [PATCH] start --- lisp.php | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ repl.php | 17 ++++++++ 2 files changed, 136 insertions(+) create mode 100644 lisp.php create mode 100644 repl.php diff --git a/lisp.php b/lisp.php new file mode 100644 index 0000000..51433c6 --- /dev/null +++ b/lisp.php @@ -0,0 +1,119 @@ + '); + + print('% '); + + try { + ml_rep($input); + } catch (MadLispException $ex) { + print('error: ' . $ex->getMessage()); + } + + print(PHP_EOL); +}