[RFC] GNU Algol 68 Coding Guidelines
chris hermansen
clhermansen@gmail.com
Mon Jan 12 20:29:32 GMT 2026
Hello all,
On Mon, Jan 12, 2026, 11:28 Jose E. Marchesi <jemarch@gnu.org> wrote:
>
> > Hej Jose, Thanks for putting these guidelines.
> >
> > Lurker, and first time poster here with a question on the phrasing below:
>
> Welcome :)
>
> >> ### Closed clauses
> >>
> >> Algol 68 allows using `(' an `)' instead of `begin' and `end' to
> >> <snip>
> >> contains a few guidelines and recommendations on this regard.
> >>
> >> Do not use parentheses for closed clauses that span in a single line,
> >> regardless of the context. Having `begin' and `end' symbols in the
> >> same line looks weird and confusing.
> >
> > The above appears to disallow single line closed clauses completely (?).
> >
> > I mean, one cannot use parentheses on single line closed clauses, and
> also
> > when using
> > BEGIN/END one cannot use a single line.
> >
> > Is there a typo, or have I misunderstood something? Should this be:
> >
> > *USE* parentheses for closed clauses that span a single line (?)
>
> Yes indeed it was a typo. I have corrected it.
> Thanks!
>
Nice catch, I missed that and I like the suggestion, for what that's worth.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/algol68/attachments/20260112/f292f1f2/attachment.htm>
More information about the Algol68
mailing list