Anonymous user
Runtime evaluation: Difference between revisions
no edit summary
(Added Common Lisp section) |
No edit summary |
||
Line 7:
=={{header|Common Lisp}}==
===Using a list to represent code===
<lang lisp>(eval '(+ 4 5)) ; Evaluate the program (+ 4 5)</lang>
===Using a String to represent code===
<lang lisp>(eval (read-from-string "(+ 4 5)")) ; Evaluate the program (+ 4 5)</lang>
|