Canterbury Modula-2: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
A [[Modula 2]] and [[Oberon-2]] compiler and IDE for OS/2 released by [[Mill Hill & Canterbury Corporation]] in 1998. The compiler was called just "MHC Modula-2" or "Canterbury Modula-2" even though Oberon and Oberon-2 was supported as well, we refer to it as Canterbury Modula-2 to synchronise with the naming conventions used on the later Java compilers from the same company. In addition to PIM4 compatibility the Modula-2 side of the compiler offers object oriented extensions similar to Oberon-2. | A [[Modula 2]] and [[Oberon-2]] compiler and IDE for 32 and 16 bit OS/2 released by [[Mill Hill & Canterbury Corporation]] in 1998. The compiler was called just "MHC Modula-2" or "Canterbury Modula-2" even though Oberon and Oberon-2 was supported as well, we refer to it as Canterbury Modula-2 to synchronise with the naming conventions used on the later Java compilers from the same company. In addition to PIM4 compatibility the Modula-2 side of the compiler offers object oriented extensions similar to Oberon-2. | ||
The Canterbury Modula-2 compiler was sold in two versions, the "Regular Edition" offered support for OS/2 Text mode and PM development and retailed for £59 UKP or $99 USD while the "Professional Edition" added support for SOM/WPS development via a built in direct to [[SOM]] compiler, the "Professional Edition sold for £89 UKP or $149 USD. In addition the company offered a free library for extended compatibility with [[TopSpeed Modula-2]] and sold an assembly coded MATHPAK 87/32 specially adapted to the compiler. | The Canterbury Modula-2 compiler was sold in two versions, the "Regular Edition" offered support for OS/2 Text mode and PM development and retailed for £59 UKP or $99 USD while the "Professional Edition" added support for SOM/WPS development via a built in direct to [[SOM]] compiler, the "Professional Edition sold for £89 UKP or $149 USD. In addition the company offered a free library for extended compatibility with [[TopSpeed Modula-2]] and sold an assembly coded MATHPAK 87/32 specially adapted to the compiler. | ||
==Version== | ==Version== | ||
* Public beta: [http://hobbes.nmsu.edu/download/pub/os2/dev/modula/mod201i.zip version 2.01i] | |||
* '''Last version:''' 2.01k | * '''Last version:''' 2.01k | ||
== | ==Features== | ||
* | ===Standards supported=== | ||
* Modula-2 language according to: Niklaus Wirth: Programming in Modula-2. Fourth edition (PIM4) | |||
* Oberon-2 compliance with; and Modula-2 object oriented extensions modelled after the Oberon extensions in Hanspeter Mössenböck's [http://ssw.jku.at/Research/Books/Oberon2.pdf Object-Oriented Programming in Oberon-2] Second Edition | |||
* [[ | * Oberon-2 library modules adhere to [[The Oakwood Guidelines for Oberon-2 Compiler Developers]] | ||
* [[HLL3]] compatible debug records | |||
= | ===Compiler targets & target libraries=== | ||
==Compiler targets & target libraries== | |||
* OS/2 32 bit v2.1 and higher native target. | * OS/2 32 bit v2.1 and higher native target. | ||
* OS/2 Presentation Manager development libraries. | * OS/2 Presentation Manager development libraries. | ||
* OS/2 Text mode development libraries. | * OS/2 Text mode development libraries. | ||
* Direct-to-SOM compilation, for SOM v2 or higher, only available in the "Professional version" | * Direct-to-SOM compilation, for SOM v2 or higher, only available in the "Professional version" | ||
* OS/2 16 bit | * OS/2 16 bit | ||
* OS/2 16 bit DLL's | * OS/2 16 bit DLL's | ||
* OS/2 32 bit DLL's | * OS/2 32 bit DLL's | ||
Line 33: | Line 28: | ||
* DOS 16 bit | * DOS 16 bit | ||
* DOS 32 bit | * DOS 32 bit | ||
===Generic language extensions=== | |||
*Set types with up to 256 elements | |||
*Bitwise operators 'AND' 'OR' 'XOR' 'SHL' 'SHR' 'NOT' | |||
*New logical operator 'XOR' | |||
===OS/2 specific language extensions and features=== | |||
* Allows underscore '_' for identifier names (OS/2 APIs use this C like "feature") | |||
===Other features=== | |||
*Integrated Make & Build, Make recompiles dependent updated modules while Build recompiles all dependent modules. | |||
===Prerequisites=== | |||
* Link.exe for building 16 bit executables | |||
* Link386.exe for building 16 bit executables | |||
==Articles== | |||
* Jean-Pierre Dezaire: [http://www.modula2.org/projects/FileIO_4_MOD32.php FileIO for the COCO compiler generator] implemented for Canterbury Modula-2. | |||
==Author== | |||
* [[Mill Hill & Canterbury Corporation]] | |||
* Jürgen Neuhoff | |||
== | ==License== | ||
* | * Commercial product & license - Discontinued. | ||
[[Category:Tools]] [[Category:Modula-2]] [[Category:Oberon]] | [[Category:Tools]] [[Category:Modula-2]] [[Category:Oberon]] |
Revision as of 23:35, 6 December 2014
Description
A Modula 2 and Oberon-2 compiler and IDE for 32 and 16 bit OS/2 released by Mill Hill & Canterbury Corporation in 1998. The compiler was called just "MHC Modula-2" or "Canterbury Modula-2" even though Oberon and Oberon-2 was supported as well, we refer to it as Canterbury Modula-2 to synchronise with the naming conventions used on the later Java compilers from the same company. In addition to PIM4 compatibility the Modula-2 side of the compiler offers object oriented extensions similar to Oberon-2.
The Canterbury Modula-2 compiler was sold in two versions, the "Regular Edition" offered support for OS/2 Text mode and PM development and retailed for £59 UKP or $99 USD while the "Professional Edition" added support for SOM/WPS development via a built in direct to SOM compiler, the "Professional Edition sold for £89 UKP or $149 USD. In addition the company offered a free library for extended compatibility with TopSpeed Modula-2 and sold an assembly coded MATHPAK 87/32 specially adapted to the compiler.
Version
- Public beta: version 2.01i
- Last version: 2.01k
Features
Standards supported
- Modula-2 language according to: Niklaus Wirth: Programming in Modula-2. Fourth edition (PIM4)
- Oberon-2 compliance with; and Modula-2 object oriented extensions modelled after the Oberon extensions in Hanspeter Mössenböck's Object-Oriented Programming in Oberon-2 Second Edition
- Oberon-2 library modules adhere to The Oakwood Guidelines for Oberon-2 Compiler Developers
- HLL3 compatible debug records
Compiler targets & target libraries
- OS/2 32 bit v2.1 and higher native target.
- OS/2 Presentation Manager development libraries.
- OS/2 Text mode development libraries.
- Direct-to-SOM compilation, for SOM v2 or higher, only available in the "Professional version"
- OS/2 16 bit
- OS/2 16 bit DLL's
- OS/2 32 bit DLL's
According to the author of the package the compiler supports the following targets as well, but they cannot be used since no library or linker support had been created by the time the development of the package was dropped.
- Windows 3.x 16 bit
- Windows 32 bit
- DOS 16 bit
- DOS 32 bit
Generic language extensions
- Set types with up to 256 elements
- Bitwise operators 'AND' 'OR' 'XOR' 'SHL' 'SHR' 'NOT'
- New logical operator 'XOR'
OS/2 specific language extensions and features
- Allows underscore '_' for identifier names (OS/2 APIs use this C like "feature")
Other features
- Integrated Make & Build, Make recompiles dependent updated modules while Build recompiles all dependent modules.
Prerequisites
- Link.exe for building 16 bit executables
- Link386.exe for building 16 bit executables
Articles
- Jean-Pierre Dezaire: FileIO for the COCO compiler generator implemented for Canterbury Modula-2.
Author
- Mill Hill & Canterbury Corporation
- Jürgen Neuhoff
License
- Commercial product & license - Discontinued.