ALGOL 68 Genie: Difference between revisions

m
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 18:
 
== Extensions to Algol 68 ==
* Implementation of C.H. Lindsey's partial parametrisation proposal, which allows for [[currying]] in Algol 68, giving it a functional sublanguage.
* A simple refinement preprocessor to facilitate top-down program construction.
* Implementation of pseudo-operators <tt>ANDF</tt> and <tt>ORF</tt>.
* Implementation of a post-checked loop. A do-part may enclose a serial clause followed by an optional until-part, or just enclose an until-part. This is an alternative to the paradigm Algol 68 post-check loop <tt>WHILE ... DO SKIP OD</tt>.
* Implementation of <tt>DOWNTO</tt> with comparable function as <tt>TO</tt> in loop clauses; <tt>DOWNTO</tt> decreases, whereas <tt>TO</tt> increases, the loop counter by the value of the (implicit) by-part.
 
== Deviations from the Revised Report language ==
Line 33:
* When all arguments in a call of <tt>readf, printf, writef, getf</tt> or <tt>putf</tt> are processed, the format associated with the corresponding file is purged - that is, remaining insertions are processed and the format is discarded.
 
==SeeUsing alsoa Large Heap==
Note that to use large arrays, the amount of memory available for the interpreter can be set via the "heap" command line parameter or via a "heap" pragmatic comment.
<pre>
E.g.: via the command line:
a68g -heap=512M someProgram.a68
 
E.g.: Using a pragmatic comment in the actual Algol 68 source:
PR heap=512M PR
</pre>
 
==Download==
* [http://www.xs4all.nl/~jmvdveer/algol.html Algol 68 Genie web page]
* [http://sourceforge.net/projects/algol68/ Fedora/Centos/RHEL/Win32: Sourceforge Algol 68 Compiler, Interpreter & Runtime]
3,021

edits