4 ms·
If you want a programming language for which parsing is trivial, code is stored in a pre-tokenized manner and there is a direct correspondence between tokens an
by RodgerTheGreat 15y ago
If you want a programming language for which parsing is trivial, code is stored in a pre-tokenized manner and there is a direct correspondence between tokens and machine primitives, Chuck Moore's ColorForth[1] foots the bill. It's orders of magnitude simpler than what most of us would consider a programming language, but you can still build powerful abstractions and extend the language to add features like garbage collection, type systems[2] (not built in the same dialect of Forth, but you get the idea) and so on.
[1] http://www.colorforth.com/cf.htm http://www.colorforth.com/cf.htm
[2] http://home.vrweb.de/stephan.becher/forth/ http://home.vrweb.de/stephan.becher/forth/