4 ms·
I handled them by generating the assembly code to implement them and setting up the symbol tables as required, I implemented ' as abecedarius said and then quot
by EdiX 16y ago
I handled them by generating the assembly code to implement them and setting up the symbol tables as required, I implemented ' as abecedarius said and then quote was a special form that compiled into something that "returned" the requested symbol object.
PS similar deal with ` it would be expanded into a bunch of normal forms by the parser ("reader" in lisp-speak) and from there it's implemented with macros and functions, I copied Guy Steele example implementation, you can find it somewhere.
- bitsai 16y agoThanks for the tips. It's probably time for me to stop messing around and start reading the Lambda Papers in earnest...