Re:Cello – High Level C
by rs23296008n1 on Wednesday January 22, 2020 @04:23AM
(#22115940)
Interesting approach. maybe develop it further into a JIT arrangement or a library builder.
Brainf*ck is another classic.
Code in the interpreter is directly converted to byte code, e.g. the macro Car generates the virtual machine instruction Car, rather than executing the code for car. The alternative would have been to generate byte code by hand, would have been error-prone. Here's the code for cons and let:
It is actually C, with heavy use of macros. But it can be read as Reverse Polish Lisp. It can also be thought of as a Lispy Forth.