4 ms·
Wow, this is interesting on many levels. The slides from ILC are a good overview: http://users.rcn.com/david-moon/PLOT/Moon-ILC09.pdf http://users.rcn.com/david
by gruseom 18y ago
Wow, this is interesting on many levels. The slides from ILC are a good overview: http://users.rcn.com/david-moon/PLOT/Moon-ILC09.pdf http://users.rcn.com/david-moon/PLOT/Moon-ILC09.pdf. They contain this fascinating statement:
Traditionally, code walking has required ad hoc code to understand every “special form.” It is better to have a well-defined, object-oriented interface to the Abstract Syntax Tree, scopes, and definitions. This is why objects are better than S-expressions as a representation for program source code.
I have never heard anyone point to s-expressions as the reason code walkers are hard to write in Lisp (and they are, at least in CL).