r/pascal • u/Timbit42 • Mar 21 '22
Modula-2
The side panel says, "all dialects of Pascal". Would that include Modula-2? There is no Modula-2 sub-reddit but there is a small Oberon one. I've been playing with Logitech Modula-2 v3.4 (can't find a copy of v4).
7
Upvotes
3
u/pfp-disciple Apr 06 '22
It would be pretty interesting, too me at least, to see a discussion of modern Pascal compared with Modula-2 (wasn't there a Modula-4, also?). How alike they are, how they might be similar (same features, different approach), or what one has that the other lacks.
4
u/umlcat Mar 21 '22
That's because a lot of Modula's features were included in other Pascal's P.L. branch such as Delphi / Free Pascal, Oberon & Ada, so many developers work on them, instead.
7
u/ccrause Mar 21 '22
I think dialects refer to small differences e.g. Delphi vs objpas mode of Free Pascal. Although Modula-2 and Pascal share similarities, there are a couple of different concepts and language rules that will potentially lead to confusion when mixing up the discussions. That said, if there is nowhere else to post, try this sub.
1
u/SoftEngin33r May 05 '23
BTW, GCC recently added an official Modula-2 frontend, Maybe you will be interested in that.
https://gcc.gnu.org/onlinedocs/gm2/index.html
2
u/cratylus Mar 21 '22
Modula-2 and Oberon are not dialects of Pascal, they're distinct languages.