3 ms·
How's this for simple? It's a stack machine with 11 instructions. https://github.com/larsbrinkhoff/nybbleForth/blob/c/nybble.c https://github.com/larsbrinkhof
by larsbrinkhoff 9y ago
How's this for simple? It's a stack machine with 11 instructions.
https://github.com/larsbrinkhoff/nybbleForth/blob/c/nybble.c https://github.com/larsbrinkhoff/nybbleForth/blob/c/nybble.c
The original interpreter was written in Forth, but I'll spare you that and point to the C version.