GCC includes support for the Modula-2 programming language

The m2 frontend and the libgm2 library have been adopted into the main structure of GCC, allowing the use of standard GCC tools for building programs in the Modula-2 programming language. It supports building code that conforms to the PIM2, PIM3, and PIM4 dialects, as well as the accepted ISO standard for that language. The changes are included in the GCC 13 branch, which is expected to be released in May 2023.

Modula-2 was developed in 1978 by Niklaus Wirth, continues the development of the Pascal language and is positioned as a programming language for highly reliable industrial systems (for example, it is used in software for GLONASS satellites). Modula-2 is the forerunner of Modula-3, Oberon and Zonnon. In addition to Modula-2, GCC includes front-ends for C, C++, Objective-C, Fortran, Go, D, Ada, and Rust. Of the frontents not accepted into the main GCC composition, Modula-3, GNU Pascal, Mercury, Cobol, VHDL and PL / 1 can be noted.

Source: opennet.ru

Add a comment