On 2025-08-16, Janis Papanagnou <jani…@hotmail.com> wrote:
> Lacking some basic standard libraries in Algol 68 I'm at a point
> where I'd like to build separate modules/includes/libraries that
> can be accessed in various application contexts without doing a
> copy/paste of the complete library code. I've read that such
> things have been done in some variants or proposed as extension
> (e.g. Lindsey https://www.algol68-lang.org/docs/algol68-mr.pdf).
>
> I'm using Marcel's Genie Algol 68 system and failed to find any
> way to achieve that. The closest I came across in the documents
> that sound like something like that was using 'pragmats'...
>
> • some previously compiled portion of the particular-program
> is to be invoked, e.g., PR WITH segment FROM album PR;
> • the source text is continued on some other document, e.g.,
> PR READ FROM another file PR;
>
> but I'm not sure it does what I'm looking for, nor how it shall
> interact with other external items (like "segment" or "album"
> as given with the example above), how it's actually used/done.
>
> Has someone experiences with this Genie-specific mechanism, or
> any other suggestions how to achieve modularization with Genie?
>
> I'm (at the moment) not too picky about the mechanism, whether
> it's, say, a supported built-in syntax, a working Genie pragmat,
> or a primitive include mechanism.
>
> If there's nothing supported with the Genie system I'd probably
> just work around the requirement with an external tool like CPP.
>
> Janisa
Ga68 under GCC supports POSIX and thus sockets and maybe internet
connections. I wish a68g had for instance socket, TLS and such
support.