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...

50Years Old 576Users ?Jobs

Example code from the Hello World Collection:

' Hello world in Forth

." Hello World" CR

Example code from Linguist:

: HELLO  ( -- )
    ." Hello Forth (fth)!" ; 


Example code from Wikipedia:

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

Trending Repos

repo stars description

Last updated August 9th, 2020

Edit Forth on GitHub