Re:Compiler basics: Lisp to Assembly
by Jtsummers on Monday November 26, 2018 @09:55AM
(#18533711)
This is really a minimal translator from s-exprs to assembly. Which is still an interesting project.
To be a lisp, you need to be able to declare and call functions, and construct and manipulate lists. Once you have that, you can then manipulate the code itself since s-exprs are just lists of a certain construction.
To be a lisp, you need to be able to declare and call functions, and construct and manipulate lists. Once you have that, you can then manipulate the code itself since s-exprs are just lists of a certain construction.