the PROGRAM line

WB Kloke wb@pkeus.de
Tue Mar 25 20:15:55 GMT 2025


Just a modest question about the PROGRAM line.

I find it a bit tedious to have a68 program texts to be different for
different implementations of algol68, esp. in the case of a68g and ga68.

The PROGRAM line in ga68 seems to do not much more then saying: this
is the main() function (in C parlance). The particular-program of the
RR does not include such a line. I know, that in historical implementations
like A68C, RS-Algol68 and the derived a68toc, the header was used to
define libraries to be included and such things.

A RR-compatible way would be to use pragmats for similar purposes.
Perhaps a command line switch to add the needed lines to a file
containing a particular-program as defined in RR10.1.1.g 
would help.


More information about the Algol68 mailing list