mini iLisp - graeme-lockley/ilisp GitHub Wiki
mini-iLisp
is a very small flavour of iLisp
with the intention of working out and establishing how to translate iLisp
into a binary executable using LLVM.
The style of this project is more focused on the translation into binary rather than with scanning, parsing and translation into an intermediate representation as these are all well understood and more than enough has been written about those compilation phases.
Language Description
This section is a simple description of mini-iLisp
to give the reader of basic understanding. It should be noted that this description is not fixed changing and flexing as I get further into building out mini-iLisp
and wanting to understanding different translation scenarios.
Implementation Layout
The section describes the implementation and where to find the source code.
"hello world"
The "hello world" mini-iLisp
is super simple:
(println "hello world")
The translation of this into a binary, although trivial, does need to answer a number of questions around the layout of the compiled code.