Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created November 2, 2012 20:30
Show Gist options
  • Save legumbre/4004135 to your computer and use it in GitHub Desktop.
Save legumbre/4004135 to your computer and use it in GitHub Desktop.
lualisp test
K> require "LispInterpreter"
K> ok, value = pcall(Lisp.evalExpr, Lisp.getGlobalEnv(), '((lambda (x) (+ x 2)) 10)')
ok, value = pcall(Lisp.evalExpr, Lisp.getGlobalEnv(), '((lambda (x) (+ x 2)) 10)')
K> print(value)
print(value)
atom[type=NUM, lex="12"]
K>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment