(There were about a zillion dialects of FORTRAN in the 1960s that differed in every conceivable respect including fundamental stuff like IF statement syntax and how exponents in scientific notation were represented. A five character identifier length would have been mild compared to some of the other portability issues). Forth relies heavily on explicit use of the stack? data structure and [Reverse Polish notation]? (or RPN?, also used on advanced calculators from Hewlett-Packard). For example, one could get the result of a mathematical expression this way:
|