Hacker News new | ask | show | jobs
by ojno 3531 days ago
Surely something more like

(how (in 'python (write (interpreter 'lisp))

:-P

2 comments

More like:

  (howp (write (interpreter :of :lisp
                            :in :python))))
> howp

“how?” is not a predicate (i.e. something that returns a Boolean value), so it wouldn't be named howp.

Somebody read the Jargon File...
'social-problems-of-lisp
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.

:)