Write lisp interpreter in java (10 implementation objects and classes)

In the process of implementing the interpreter, I found a fun thing, that is, how to better use the object-oriented idea to write code, and think about how to define a set of templates. Before starting again, I sorted out two kinds of object-oriented templates.One is a java style template(class classname (superclass) (. field) ( func t()( ...

Posted by timcapulet on Sat, 19 Feb 2022 10:59:36 +0100

Write a lisp interpreter in java

At first, the first time I heard the name LISP was an accidental opportunity and left a great impression. Five years passed in a hurry. I saw sicp a few days ago and mentioned the name again. I found several introductory documents on the Internet, learned the basic grammar, and then continued to watch sicp; From writing the first line (+ 1, 2) ...

Posted by icd_lx on Mon, 07 Feb 2022 03:08:24 +0100