Forth Programming Language
A Forth Programming Language is an imperative programming language that ...
- …
- Counter-Example(s):
- See: Outer Space, Gforth, Stack-Oriented Programming Language, Concatenative Programming Language.
References
2018
- (Wikipedia, 2018) ⇒ https://en.wikipedia.org/wiki/Forth_(programming_language) Retrieved:2018-1-22.
- 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.
A procedural programming language without type checking, Forth features both interactive execution of commands (making it suitable as a shell for systems that lack a more formal operating system) and the ability to compile sequences of commands for later execution. Some Forth implementations (usually early versions or those written to be extremely portable) compile threaded code, but many implementations today generate optimized machine code like other language compilers.
Forth is used in the Open Firmware boot loader, in space applications, [1] such as the Philae spacecraft and other embedded systems which involve interaction with hardware. The bestselling 1986 DOS game Starflight, from Electronic Arts, was written with a custom Forth.
The free software Gforth implementation is actively maintained, as are several commercially supported systems.
- 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.
- ↑ NASA applications of Forth (original NASA server no longer running, copy from archive.org)
2017
- (Bošnjak et al., 2017) ⇒ Matko Bošnjak, Tim Rocktäschel, Jason Naradowsky, and Sebastian Riedel. (2017). “Programming with a Differentiable Forth Interpreter.” In: Proceedings of ICRL 2017 - Workshop Track.
- QUOTE: … Here we consider the case of prior procedural knowledge, such as knowing the overall recursive structure of a sequence transduction program or the fact that a program will likely use arithmetic operations on real numbers to solve a task. To this end we present a differentiable interpreter for the programming language Forth. Through a neural implementation of the dual stack machine that underlies Forth, programmers can write program sketches with slots that can be filled with behaviour trained from program input-output data. …