Forth is an actively used programming language created in 1970. Forth is an imperative stack-based computer programming language and environment originally designed by Charles "Chuck" Moore. Language features include structured programming, reflection (the ability to modify the program structure during program execution), concatenative programming (functions are composed with juxtaposition) and extensibility (the programmer can create new commands). Although not an acronym, the language's name is sometimes spelled with all capital letters as FORTH, following the customary usage during its earlier years. Read more on Wikipedia...
- Forth ranks in the top 5% of languages
- the Forth wikipedia page
- Forth first appeared in 1970
- Forth was created by Charles H. Moore
- file extensions for Forth include fth, 4th, f, for, forth, fr, frt and fs
- replit has an online Forth repl
- See also: lisp, apl, factor, postscript, rpl, rebol, reverse-polish-notation, freebsd, c, linux, unix, atmel-avr, msp430, ascii, joy
- Have a question about Forth not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
' Hello world in Forth ." Hello World" CR
Example code from Linguist:
: HELLO ( -- ) ." Hello Forth (fth)!" ; HELLO
Example code from Wikipedia:
hex create AKey 61 c, 8A c, 63 c, D2 c, FB c, : test cr 0 DO rc4_byte . LOOP cr ; AKey 5 rc4_init 2C F9 4C EE DC 5 test \ output should be: F1 38 29 C9 DE
Last updated February 18th, 2020