I tried to learn Modula-2 using the GCC frontend and an old book I found at the local library. However, the syntax was not compatible or the main reference library of modules.


I have only played around a tiny bit with the GCC Modula 2 compiler but in general there are several versions based on different editions of Wirths book Programming in Modula 2 (PIM)

I think gcc m2 supports several versions of PIM but you have to tell it which one you use, so which book version you use, basically.

Also there are many Modula 2 examples in the Rosetta code project for common algorithm, if you want to try that. http://rosettacode.org/wiki/Category:Modula-2


Thank you cutie.

General Programming Discussion

    A general programming discussion community.


    1. Be civil.

    Other programming communities:

    • /c/rust
    • /c/python
    • /c/powershell
    • /c/haskell
    • /c/fpcomplete
    • /c/cpp
    • /c/c_programming
    • /c/julia
    • 0 users online
    • 8 users / day
    • 13 users / week
    • 30 users / month
    • 190 users / 6 months
    • 2377 subscribers
    • 630 Posts
    • Modlog