ELLA ALGOL 68RS: Difference between revisions
Content added Content deleted
m (→See Also) |
m (→Sample: hello world.) |
||
Line 5: | Line 5: | ||
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== |
|||
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> |
|||
PROGRAM helloworld CONTEXT VOID |
|||
USE standard |
|||
BEGIN |
|||
print(("Hello, world!", new line)) |
|||
END |
|||
FINISH |
|||
</pre> |
|||
==See Also== |
==See Also== |
||
* Ports of the ELLA A68ToC compiler: |
* Ports of the ELLA A68ToC compiler: |