Article View: comp.lang.misc
Article #29Re: Algol 68 / Genie - support of user defined libraries?
From: Anthk GM
Date: Thu, 19 Nov 2026 08:20
Date: Thu, 19 Nov 2026 08:20
36 lines
2847 bytes
2847 bytes
On 2025-08-16, Janis Papanagnou <janis_papanagnou+ng@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.
Technical Details
Message-ID:
<slrn11fs3l9.5sm.anthk@hyperbola.home>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<107ojqs$1ebrr$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Anthk GM <anthk@disroot.org> Newsgroups: comp.lang.misc Subject: Re: Algol 68 / Genie - support of user defined libraries? Date: Thu, 19 Nov 2026 08:20:40 -0000 (UTC) Organization: A noiseless patient Spider Lines: 36 Message-ID: <slrn11fs3l9.5sm.anthk@hyperbola.home> References: <107ojqs$1ebrr$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 19 Nov 2026 08:20:41 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2188586"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18S7OIWiNrR5KtNgmOfDUgS"; posting-host="426ebcb32cc32a46266533693abd5c37" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:Q9bvjR8r/YOTJ6ElqKSr2nAkRiY= sha256:pQBxzzKIFvP47jY1V95UQrn50hM9f5+EzJcPTnw8US4= sha1:zA+VJrxxeKp0PnTx5HTcdZ9o0UE= sha256:Z4Cqf1cW96bkjV2hzPWKCFLIoFSeCcqNoUzUjxEkx6w=