http://michaux.ca/articles/scheme-from-scratch-introduction
I had fun following along with him. Now, if he (or I can get my shot at it finished) can ever finish working on the byte-code based version!
http://michaux.ca/articles/scheme-from-scratch-introduction
I had fun following along with him. Now, if he (or I can get my shot at it finished) can ever finish working on the byte-code based version!
The book is in two parts. The first starts from a simple evaluation function and enriches it with multiple name spaces, continuations and side-effects with commented variants, while at the same time the language used to define these features is reduced to a simple lambda-calculus.
The second part focuses more on implementation techniques and discusses precompilation for fast interpretation: threaded code or bytecode; compilation towards C. Some extensions are also described such as dynamic evaluation, reflection, macros and objects.
I would also find very interesting to see a step-by-step series on compiling scheme (with macros included) using llvm. I never tried really hard to look for one, though.
I should finish my Ada version sometime... Or just start a new project haha