Tuesday, December 11, 2007

Go Forth

Forth is an interesting little programming language. First of all, it's stack based, so to do 4 + 5, you would actually need to type 4 5 +. Next, it's a compile-as-you-go language. Defining new "words" for your program is literally extending the compiler. And finally, its grammar is nothing more than a string of defined words.

Forth is used for embedded systems (in fact, according to forth.com, it's used today), and has been used in the past for arcade games.

No comments: