Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
And to finish the thought, a REPL using Fogus' lithp.rb and my own s-expression parser.
require 'lithp'
require 'lisp_parser'
lisp =
print "> "
while not $stdin.eof?
line = readline
s_expression =
p lisp.eval(s_expression)
print "> "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment