Forth es un lenguaje diseñado para la Astronomía, pero pronto de convirtió en un lenguaje usado en varias máquinas de la epoca (~ 70-80's) como la
Jupiter Ace, lo que permitió utilizarlo en otro medio "no cientifico".
Hoy en día es largamente (*) usado. Quien administra algún equipo de Sun, lo usan en el booteo, lo mismo que las viejas apple (no sabría decir si las actuales), OLPC, etc. porque este lenguaje es el que se usa para desarrollar
OpenFirmware (OpenBios)
Forth utiliza una pila de datos (stack-oriented), es procedural, no tipado y reflectivo. De la wiki:
Citar:
Forth parsing is simple, as it has no explicit grammar. The interpreter reads a line of input from the user input device, which is then parsed for a word using spaces as a delimiter; some systems recognise additional whitespace characters. When the interpreter finds a word, it tries to look the word up in the dictionary. If the word is found, the interpreter executes the code associated with the word, and then returns to parse the rest of the input stream. If the word isn't found, the word is assumed to be a number, and an attempt is made to convert it into a number and push it on the stack; if successful, the interpreter continues parsing the input stream. Otherwise, if both the lookup and number conversion fails, the interpreter prints the word followed by an error message indicating the word is not recognised, flushes the input stream, and waits for new user input
http://en.wikipedia.org/wiki/Forth_%28p ... rogramming
(*) largamente
