You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
William Davis 8dd08ec942 eval in variable definition 7 months ago
garbage clean up repo 1 year ago
trash clean up repo 1 year ago
README.md clean up repo 1 year ago
example_1.py clean up repo 1 year ago
example_2.py clean up repo 1 year ago
main.py eval in variable definition 7 months ago

README.md

overview

Read eval print loop

  • Read string
  • Tokenize string into list of tokens
  • Parse tokens into list of expressions
  • Evaluate list of expressions
  • Apply functions to arguments
  • Return value
  • Print
  • Loop

appendix

https://carld.github.io/2017/06/20/lisp-in-less-than-200-lines-of-c.html

https://khamidou.com/compilers/lisp.py/