Cambridge ALGOL 68C: Difference between revisions

m
m (foundation page, from wikipedia)
 
m (→‎External links: New link)
 
(3 intermediate revisions by 3 users not shown)
Line 1:
{{implementation|ALGOL 68}}{{stub}}
===The <codett>ENVIRON</codett> and <codett>USING</codett> clauses.===
These clauses are kind of the ''inverse'' of the '''#include''' found in the [[C (programming language)|C programming language]], or '''import''' found in [[Python (programming language)|Python]]. The purpose of the <codett>ENVIRON</codett> mechanism is to allow a program source to be broken into manageable sized pieces. Note that it is only necessary to parse the shared source file once, unlike a '''#include''' found in the C (programming language)|C programming language where the include file needs to be parsed for each source file that includes it.
==== Example of <codett>ENVIRON</codett> clause ====
A file called ''mylib.a68'':
<pre>
Line 15:
END
</pre>
==== Example of <codett>USING</codett> clause ====
A file called ''usemylib.a68'':
<pre>
Line 30:
== Restrictions to the language from the standard '''ALGOL 68''' ==
* no algol68 FLEX and variable length arrays.
* <codett>MODE STRING</codett> implemented without FLEX.
* The PAR parallel clause was not implemented.
* nonstandard transput.
Line 40:
* [http://hopl.murdoch.edu.au/showlanguage.prx?exp=667 Cambridge Algol 68: on the historical roster of computer languages] - includes 10+ publication references.
* [http://portal.acm.org/ft_gateway.cfm?id=807148&type=pdf A TRANSPORTATION OF ALGOL68C - PJ Gardner, University of Essex] - March 1977 (From 370 to DECsystem-10)
* [https://jmvdveer.home.xs4all.nl/en.post.algol-68-mvs.html Running Algol68C on MVS] - using an emulator
3,028

edits