News for hackers. Stuff that matters.
Re:Show HN: Compiler using Lisp’s macro system for metaprogr... by sedachv on Friday January 05, 2018 @03:42PM (#16081471)
The Vacietis (https://github.com/vsedach/Vacietis/) reader can be easily adapted to do that. You can see examples in the unit tests:

https://github.com/vsedach/Vacietis/blob/master/test/reader-...

As-is, C block constructs get mapped directly to Common Lisp special forms like tagbody and prog because those implement a superset of C control flow semantics. Pick different names in vacietis.c and you have an AST.

There are no comments on this comment yet.