Compilers Tutorials/Papers Libs/Sources Newsgroups FAQ Forums/Lists
GNU Modula-2 Modula-2 CGI Tutorial Howto Setup a Fine Modula-2 Environment Programming with Modula-2 Misc. Modula-2 Related Pages Not-English Modula-2 Pages Downloads Please Sign My Guestbook Code Search
Report on the programming language Modula-2 4th edition, by Niklaus Wirth. This is the original description of the language. It's also the last version of pre-ISO Modula-2. It's more a reference than a tutorial.
You may also download the original (1st edition) ETH report on Modula-2 (2.5MB, .pdf) by Niklaus Wirth from Karl Kleine's great page Historic Documents in Computer Science.
There are very few free Modula-2 tutorials available. Also have a look at section not-english Modula-2 pages - maybe there's something available in your own language.
First one is the only english Modula-2 tutorial available for free (in different versions).
Coronado Tutorial at modula2.org: Frank Schoonjans edited the classic tutorial to be usable with newer compilers such as XDS or StonyBrook. Thanks. It's also well structured now. I removed the tutorial from my page.
Original Coronado Tutorial: a good tutorial that is also suitable for absolute beginners. This is quite old (but good!) and teaches PIM-style Modula-2.
Next one is a Sharebook - this is not free (!!), but it is cheap:
Abstractions for Data and Programming Structures (Using ISO-Standard Modula-2). By R. Sutcliffe (http://www.modula-2.com). This seems to be the only available introduction to ISO-Modula-2.
Some chapters of a beginners book on programming for the Linux operating system are available from linux.aliboom.com.
C. Petzold's book translating from Visual C++ to Modula-2 (using XDS or Stony Brook).
[DISAPPEARED?] A Gentle Introduction to Modula-2: A compact tutorial describing Modula-2. Not intended for beginners but for people who already know some programming language.
Modula-2 sample programs for Windows95/98, translated to Modula-2 by Professor Shigeo Hayashi. These samples were compiled with XDS-Modula-2 and are really useful.
Windows Programmierung unter Modula-2: a very good tutorial for beginners, only german version available. provided by: Institut für Technische Informatik / Technische Universität Graz, Austria (see next link also). Of course it's in german, but there are so few tutorials available (sigh)...
Win32 API Reference that contains a windows-programming guide for XDS-Modula-2 - only in german.
Learning Modula2 through exercises: "During the exercises that you find on this page we, or more exactly YOU, will learn to program using the programming language Modula2". A nice and useful introduction.
Object Oriented Programming Tutorial: not a pure modula-2 tutorial, but sometimes uses examples written in modula-2. description from homepage: "This tutorial aims to teach you the basics of Object Oriented Programming. It is not tailored to any one specific language, although examples in C++ and Java will be given. Examples using Modula-2 will also be used, although obviously not for the purposes of demonstrating OOP techniques!".
[DISAPPEARED?] Modula 2 - Quick Reference: some links, also broken links, simple examples.
GNU Modula-2 Documentation. A lot of useful information. Growing up with the compiler.
Fitted Soft Modula-2 Docs in HTML-format available from this page: containing a nice introduction to the object oriented extensions of FST-Modula-2. This is also available in zipped form from the local download-area.
Documentation for ULM's Modula-2 System. Installation and User Guide by Andreas F. Borchert.
The MacMETH Modula-2 Manual [.pdf] is available online.
Gardens Point Modula-2 Library Guide: I converted the definition-modules from Gardens Point Modula to HTML to have them available as online-help in a browser. Maybe the material is useful for you.
M2F Library Guide: Library guide for the other Linux compiler I use. This is fun as the library sources can more easily be modified (compared to GPM). Hope this helps.
The original documentation of the M2M-PC System can be found at the Modula-2 page of CFB Software. PDF-format.
The following material is not really free but very useful if you are using the free personal edition of XDS Modula-2 (for downloading this compiler - see section compilers).
Main XDS-x86 documentation menu. From this page you may go to:
Official Home of ISO/IEC JTC1/ SC22 / WG13 Modula-2: The International Standardization Working Group for the programming language Modula-2. Specification, standards, WG13 projects. Highly recommended site, if you are really interested in the language but no updates for a long time.
If you are interested in the difficulties of the Modula-2 standardization-process, you may want to read Pat Terry's Some reflections on Modula-2 standardization. Interesting.
Interfacing Modula-2 to C Draft (.pdf): description from document: "This Technical Report provides rules to define interfaces for Modula-2 to call C procedures and to access C data entities in a portable way".
BNF of the Modula-2 Programming Language: "Each element of this page is an anchor to a description of a syntax rule of the Modula 2 language. Each rule is illustrated by a graphical syntactic diagram. The rule names and non-terminal names are extracted from "Programming in Modula-2" Niklaus Wirth, Springer-Verlag eds., Berlin, 1983."
GNU GDB documentation. "Extensions made to GDB to support Modula-2 only support output from the GNU Modula-2 compiler (which is currently being developed). Other Modula-2 compilers are not currently supported, and attempting to debug executables produced by them is most likely to give an error as GDB reads in the executable's symbol table."
VUB Parallel Computing Laboratory at the University of Brussels offers a good modula-2 page. Syntax reference, help on XDS and lots of other interesting papers. Also 3 demo-games with complete sourcecode.
K John Gough's projectlist (GPM!): interesting paper about the history of Gardens Point Modula-2. Postscript.
ModulAtor: a huge set of papers about different subjects (modula-2 and oberon). extremely usable material - have a look!
An article from EDM/2 (The Electronic Developer Magazine for OS/2) by Dmitry Leskov. Some advice and workaround-ideas around the question: "Is there a chance for applications written in Modula-2 to catch up?"
Modula-2 FAQ: frequently asked questions about modula-2.
Well, books can be seen as free material (anyone using libraries?). The few listed here just have to show that there are lots of books on Modula-2 out there (few on ISO-Modula-2...).
Want to buy a book? Have a look at the search results at Barnes & Noble for example. They seem to have most books still available (compared to other companies). You may also want to have a look at Amazon.com.
The bibliography below was never meant to be complete - it's just a starting point so you can see there's a lot out there.