GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
algol68

a68: Implement GNU68-2026-002 nestable pragmats

Adds support for nested pragmas in Algol68 dialect, with updated syntax and documentation.

The Algol68 compiler now supports nested pragmas, a new language extension identified as GNU68-2026-002. This change introduces syntax modifications for nested pragmas, updates the documentation to clarify dialect options like -fbrackets, and includes new test cases to verify the functionality. The compiler also restricts the use of -fbrackets to upper stropping, preventing conflicts with supper stropping.

In Details

This commit introduces nested pragmat pragmas to the Algol68 dialect. The changes primarily affect the parser and scanner in ga68.vw and related .cc files, enabling the handling of pragmas within other pragmas. It also refines the interaction between pragmas and language features like -fbrackets, ensuring correct behavior within different stropping contexts (upper vs. supper).

Filed Under: algol68language extensioncompiler