tisp

tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

commit f69aa83d8a92f2c77d0696cbf07538c45869bbac
parent b96e0977fe8ea17bc6953d9a640917481908f785
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Sat, 13 Jul 2019 01:19:20 -0700

Add simple, primitive only, REPL option

Diffstat:
tibs/repl.tsp | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/tibs/repl.tsp b/tibs/repl.tsp @@ -7,4 +7,11 @@ (disp-string ans))) (repl)))) +;; simple repl +(define (repl-simple) + (print "> ") + (print (eval (parse (read)))) + (newline) + (repl-simple)) + (repl)