Hacker News new | ask | show | jobs
by klez 4765 days ago
Some time ago I tried writing an extended Brainfuck interpreter (m4bf - macro brainfuck)[1] .

In addition to the basic language it had a stack and, with a bit of c preprocessor trickery, i devised a hackish way to have macros (despite the cpp man page saying not to use this for anything but as a c preprocessor).

[1] https://github.com/federicoculloca/m4bf/