Forth is a stack based, minimal syntax, extremely imperative programming language which encourages tacit code. It's one of the early languages, and the source of phrases such as "refactor". While there exist standards, many Forths do things subtly differently, and programs frequently use shortcut words. Forth's design makes it very easy to bootstrap, and it is therefore popular for small (e.g. sectorforth) or exotic (e.g. pbforth) targets.
This is a reasonably complete implementation of bye bye hello world in Gforth. The main quirk is some assumption the user won't enter very large numbers, and the countdown loop uses -do -loop which is not standard.
Forth is a stack based, minimal syntax, extremely imperative programming language which encourages tacit code. It's one of the early languages, and the source of phrases such as "refactor". While there exist standards, many Forths do things subtly differently, and programs frequently use shortcut words. Forth's design makes it very easy to bootstrap, and it is therefore popular for small (e.g. sectorforth) or exotic (e.g. pbforth) targets.
This is a reasonably complete implementation of bye bye hello world in Gforth. The main quirk is some assumption the user won't enter very large numbers, and the countdown loop uses -do -loop which is not standard.