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
The Sources Store for Modula-2 and Oberon-2 Programming Languages: description from homepage: "The purpose of this site is free propagation of any source code and documents related to Modula-2 and Oberon-2." They have quite interesting material available in the download-section, I think especially the work of Victor V. Sergeyev is interesting if you are using the XDS-compiler: have a look at a complete winsock- and ODBC-interface!
modula2.org offers some really useful packages (especially for Windows-users of XDS or StonyBrook Modula-2) including a library to write Excel files, one for using Microsoft's WinInet library and a Zip/Unzip library. An unexpected enrichment for the Modula-2 community.
There are quite a lot of interesting Sources available from Jan Verhoeven's Modula-2 Pages. There are a lot of projects for Dos (FST) and Linux (Mocka) compilers there, so just have a look. I think especially the examples for low-level interaction of Modula-2 programs with some piece of hardware teach an interesting lesson. Most of the projects are distributed under the GPL.
PMOS by Peter Moylan: description from homepage: "PMOS is a large library of Modula-2 modules, distributed in source form. Its primary purpose is to make it easy to write multitasking programs for real-time and/or embedded applications. However it also contains a number of modules of interest even if you don't want to write multitasking code: screen windows and screen graphics modules, various device drivers, and a variety of utility modules. PMOS is free for non-profit use."
Also from Peter Moylan: Modula-2 Numerical Analysis Software. I did not have time to have a closer look at it. Some good functionality if you need basic routines for doing e.g. statistics.
John Andrea's libraries and example code: quite a lot of reusable code, some really interesting things (for example a module for handling .bmp graphics).
MAS: The "The Modula-2 Algebra System", description from homepage: "MAS (Modula-2 Algebra System) is an experimental computer algebra system, developed at the University of Passau. MAS combines imperative programming facilities with algebraic specification capabilities for design and study of algebraic algorithms. It contains a large library of implemented Groebner basis algorithms for nearly all algebraic structures where such methods exist. MAS further includes algorithms for real quantifier elimination, parametric real root counting, and for computing in (noncommutative) polynomial rings."
Thomas Breedens Groupwise API in Modula-2 is available from developer.novell.com. A short description taken from there: "The GWObj and Adm API for Modula-2, and some higher-level support modules to make common GW programming tasks somewhat easier as well as provide example templates. A few complete example programs included."
Modula2 Chess: A chess game for Linux written in Modula2. From the homepage: "This is an example of how you can use the Modula2 language to write more interesting programs than \"hello world\"." I think this was developed using the Mocka-compiler. By Javier Callo'n A'lvarez.
Iris Technologies Modula-2 Library [FTP] is a set of simple but useful modules that are especially useful for beginners. The library was written using the GPM-compiler. String/character-handling, a simple ncurses interface, a Borland-like CRT-module and so on. By Ian R. Matters. There was a report that some parts are no longer functional on newer linux-systems.
RAMSES (Research Aids for Modeling and Simulation of Environment Systems) "is a generic modeling and simulation environment that allows you to solve a wide range of modeling and simulation problems easily. You can model and interactively solve non-linear differential equations, difference equations, and discrete event systems in any combination; size and complexity of your model is only limited by your computer's resources." Documentation is available. You will need Stonybrook (Windows), p1 (Mac OS X) or EPC Modula-2 to use RAMSES with other operating systems than classic MacOS (For the latter there is the free MacMETH Modula-2 which you can fetch from here).
VUB Parallel Computing Laboratory: various modula-2 sources including 3 demo-games with complete sourcecode for XDS Modula-2.
Gardens Point Modula-2 library sources [FTP]: available for download, it is file 'libsrc.tar.gz', the other file in that directory contains the sources and manual for a
preprocessor necessary for rebuilding the libraries.
Mastering Modula using Models / Learning Patterns from Examples : Prof. Motil's Modula-2 page.
Imperium-PBeM 2001 "is a science-fiction based conquering pbem where up to 80 players can interact to reach their goals to rule the entire galaxy alone or with their allied forces." This is a so called "Play-by-Email" game. You may download the sources from Sourceforge.
hello world: the classic first program...
Christian Maurer's "Murus" (modular universe): Collection of useful Modula-2 sources that are free for educational use (now GPL!). The sources are tested with FST and Mocka. You may also download FST Modula-2 4.0 from this page.
The Vector Board:: Modula-2 sources for different compilers and systems (Turbo Modula-2, Atari ST, CP/M), quite interesting. Here's the list of available files. They also still offer version 1.0 of FST Modula-2!
Mr. Kim Moser's site contains some older Modula-2 sources (written for the Logitech compiler) published under the GPL.
modula-2 page that offers a few simple examples: hello world, sum, factorial. the page contains lots of dead links!
Chris Rathman wrote modula-2 code demonstrating OO Shapes. i didn't have time to take a closer look...
Gregory S. Vigneault: a short piece of code called Quine, it's a so called "self-reproducing program". See versions in other languages at the Quine Page.
XModula: "This is a set of files that will allow you to use the X-Windows (version 11, revision 6, also known as X11R6) library calls directly with the Modula-2 programming language. It includes the full Modula-2 foreign definition modules for the most important headers of X-Windows: Xlib.h, X.h, Xutil.h and keysyms.h".
MultiGraph library: graphics library for TopSpeed or StonyBrook Modula-2. The readme contains following information on the license: "This library is a shareware, i.e. any individual may use it in any project or program on a single computer. Sources can be supplied after the registration." I think I remember this lib to be available from some ftp-servers.
Pat Terry wrote an alternative library for FST Modula-2 wich extends the original libs coming with the compiler. Download via ftp: definition modules and object modules.
VGA lib 3: description from homepage: "VGALIB3 is a library for the FST (Fitted Software Tools) Modula-2 compiler, to work with VGA mode 12h (640 x 480 x 16). The library has routines for plotting, drawing lines, making boxes, writing to screen of text and CARDINALs and more. It consists of a DEF file, an M2O file, and a MOD file with FULL SOURCES. All critical routines are in inline ASM. VGALIB is FREE SOFTWARE as defined in the GNU General Public License."
Taak326b.zip: developed by K.H.M. de Jonge and J.H.D. Keukelaar. A library making use of the OO-extensions of newer versions of the FST-compiler. "Modeled after the Turbo C++ Class Library Definition from Borland International (1990).
Also have a look at PMOS by Peter Moylan. Most of the package will compile with FST.
ftp://ftp.psg.com/pub/modula-2/: a real modula-2 treasury!
ftp://ftp.kiarchive.ru/pub/.1/msdos/language/modula-2/: graphics lib for TopSpeed Modula-2.
ftp://ftp.tu-darmstadt.de/pub/programming/literate-programming/modula-2/: literate programming.
There are a lot of FTP-sites offering the freely available Modula-2 compilers, Libraries and other material. Either try one of the following sites or do a FTP-search. Try one of the search-engines at
http://www.ftpsearchengines.com/.
ftp://ftp.cs.tu-berlin.de/pub/atari/Programming/Modula-2/.
ftp://ftp.cs.tu-berlin.de/pub/mac/lang/Modula-2/.
ftp://sunsite.unc.edu/pub/Linux/devel/lang/modula-2/.