Re:Show HN: Full Stack Lisp – A book in progress about writi...
by sedachv on Monday June 06, 2016 @05:39PM
(#11850631)
Read macros are great because you can use them to turn the Common Lisp parser into a parser for any language you want (no restrictions on the grammar), so you essentially get compilers for free. I wrote a one-pass C preprocessor and parser in just under a thousand lines of code: https://github.com/vsedach/Vacietis/blob/master/compiler/rea...
[ Parent
| on HN ]
There are no comments on this comment yet.