4 ms·
Forth is the third model -- very clean and consistent, and still widely used. (Forth is usually the first HLL to get working on a new chip due to its simplicit
by erichocean 15y ago
Forth is the third model -- very clean and consistent, and still widely used.
(Forth is usually the first HLL to get working on a new chip due to its simplicity.)
If you're looking for a modern stack-language implementation, give Factor a try: http://factorcode.org/ http://factorcode.org/
- RodgerTheGreat 15y agoI think Forth is particularly notable for providing metaprogramming facilities which are arguably on par with Lisp while taking a completely different approach. Lisp represents code and data the same way and can manipulate both with ease. Forth has what might be described as an "interactive compiler" which can be easily extended during the compilation process. Since an immediate word can hijack the parser, you could theoretically build Forth out into a reasonable facsimilie of any other language if you so desired. These capabilities are already used in most Forth distributions to provide things like flow control, comments and string literals.