ELLA ALGOL 68RS: Difference between revisions

Content added Content deleted
m (→‎Sample: hello world.)
m (→‎Sample: rm whitespace)
Line 6: Line 6:
algol68toc is derived from a project to translate ELLA into [[C]], hence ''ELLA ALGOL 68'' is a cut down verion of [[ALGOL 68RS]] where elements not required for the ELLA translation were not ported.
algol68toc is derived from a project to translate ELLA into [[C]], hence ''ELLA ALGOL 68'' is a cut down verion of [[ALGOL 68RS]] where elements not required for the ELLA translation were not ported.
==Sample==
==Sample==
Notes: ELLA Algol68 (in the form on Algol68toC) is missing the formatted transput (input/output), hence the following code sample uses ''print'' and not ''printf''. It also requires ALGOL 68 RS's PROGRAM, USE and FINISH formalities.<pre>
Notes: ELLA Algol68 (in the form on Algol68toC) is missing the formatted transput (input/output), hence the following code sample uses ''print'' and not ''printf''. It also requires ALGOL 68 RS's PROGRAM, USE and FINISH formalities.
PROGRAM helloworld CONTEXT VOID
<pre>PROGRAM helloworld CONTEXT VOID
USE standard
USE standard
BEGIN
BEGIN
Line 14: Line 14:
FINISH
FINISH
</pre>
</pre>

==See Also==
==See Also==
* Ports of the ELLA A68ToC compiler:
* Ports of the ELLA A68ToC compiler: