Introducing the new 7th programming language
The 7th® programming language is based on the concepts of Charles Henry Moore's "Problem Oriented Language".
Because of its unique interpreting compiler, Forth™ makes programming quite easy and a compiled program – called “word” – is very compact.
The programming language 7th runs as such an interpreting compiler for stability and portability on the JVM.
Beside Forth's major features 7th brings several enhancements, to name some
• object orientation
• help function
• redirecting of program output
• complex numbers
• array and array functions
• pattern matching
The functions of the "Klassenbibliothek" formerly found here are all included in 7th.
7th comes with an complete development system, with an editor and a code beautifier that does syntax highlighting and correct indentation in a very small package.
Comment syntax
To comment out the rest of the line use //
// Loop through numbers from 1 to 10.000
to show the stack behavior of a word use ( -- ) "-" two times!
: facul ( n -- facul )
…
to comment out a part of a line use (* *)
row i @ (* occupied *) 'x' == if
Text inside round braces is interpreted as an algebraic expression ( )
(5+3*2)
7th IDE – Try Out
No need to support Web Start on this page any further. You can now download a minimal JRE Sevjre.zip file with the Seventh.jar 7th IDE contained for Windows.
Or if You have already JavaTM installed in version 11 or newer, You can download the file Seventh.jar separately.
Webstart on Linux
Web Start was a replacement after removing the Applet functionality from the browsers and always some kind of an overkill for deploying the relatively small Seventh.jar 7th IDE program.
You can download and install the open-source JDK's for most popular Linux distributions here: openjdk.java.net