High-Level Language

The high-level language included with the GC is a simplified version of Java, with a Lisp-like syntax. The user interface is a bare-bones, command prompt style setup, where the user enters expressions, and the expressions are evaluated and printed on the next line. When in insert mode, the user enters lines of text into the current source file. To exit insert mode, the user presses Enter twice in a row. To edit existing lines of text in the current source file, the user must use old-fashioned, line editor commands such as:

 

ch <s1>,<s2>

 

The ch command changes substring s1 into substring s2 on the current line.

More:

Data Structure

Operators

Statements

Method Declarations

Class Declarations

Sample Source File