Re:How to Write a Lisp Interpreter in Python (2010)
by pavelludiq on Monday October 24, 2016 @08:07AM
(#12778090)
More like:
(howp (write (interpreter :of :lisp
:in :python))))
Re:How to Write a Lisp Interpreter in Python (2010)
by mmarx on Monday October 24, 2016 @08:45AM
(#12778256)
> howp
“how?” is not a predicate (i.e. something that returns a Boolean value), so it wouldn't be named howp.
Re:How to Write a Lisp Interpreter in Python (2010)
by qubex on Monday October 24, 2016 @11:32AM
(#12779701)
Somebody read the Jargon File...
Re:How to Write a Lisp Interpreter in Python (2010)
by agumonkey on Monday October 24, 2016 @08:32AM
(#12778210)
'social-problems-of-lisp
Re:How to Write a Lisp Interpreter in Python (2010)
by vram22 on Monday October 24, 2016 @02:58PM
(#12781734)
Please read the post title again.
A minimal version would be more like:
# REPL
def interpret_lisp():
while not control_C_pressed():
print(eval(read()))
where those functions would have to be defined, of course.:)
(how (in 'python (write (interpreter 'lisp))
:-P