2 ms·
People have come up with S-expression syntaxes for C, basically to be able to write C macros in lisp. Here's one: https://voodoo-slide.blogspot.com/2010/01/amp
by buescher 3y ago
People have come up with S-expression syntaxes for C, basically to be able to write C macros in lisp. Here's one:
https://voodoo-slide.blogspot.com/2010/01/amplifying-c.html https://voodoo-slide.blogspot.com/2010/01/amplifying-c.html
- kazinator 3y agoCouple of others: c-mera: https://github.com/kiselgra/c-mera https://github.com/kiselgra/c-mera cmacro: https://github.com/eudoxia0/cmacro https://github.com/eudoxia0/cmacro (This one one is implemented in Common Lisp for its semantics, but doesn't use a S-exp surface syntax for the code.) sxc: https://github.com/burtonsamograd/sxc https://github.com/burtonsamograd/sxc (incomplete) MetaC: https://github.com/mcallester/MetaC https://github.com/mcallester/MetaC (References Lisp in readme; doesn't use it for implementation or notation, but references ideas. Source code seems to be a core of .c files, and the rest self-hosted in its own .mc language. Somehow provides a REPL.)