Re:Show HN: Full Stack Lisp – A book in progress about writi...
by _ph_ on Friday June 03, 2016 @05:07AM
(#11829158)
This is pretty much wrong. C macros have a simple substitution language. But all Common Lisp macros can run arbitrary common lisp functions to compute the macro expansion. That means, you are not limited to pattern matching, but can write a program - in the same programming language you are using for your application - to compute the expansion. Of course there are simple cases which are just syntax rewrites, but there are also complex cases, like the loop macro. The loop macro allows you to specify looping constructs in an almost natural language.
[ Parent
| on HN ]
There are no comments on this comment yet.