3 ms·
The light just went on for me! Imagine if your favorite programming language, X, had some sort of facility to expose a function/method's Abstract Syntax Tree a
by stcredzero 17y ago
The light just went on for me!
Imagine if your favorite programming language, X, had some sort of facility to expose a function/method's Abstract Syntax Tree and a meta-language for scripting changes to particular patterns of in the AST or activating different functionality. Well, in Lisp, the language is also it's own Abstract Syntax Tree and it's own meta-language.
(I use a Smalltalk meta-language all the time at work for code transformation, but even with such a facility Smalltalk can't quite do everything Lisp macros can do.)