m2sf / m2pp

Modula-2 Preprocessor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

m2pp

Modula-2 Preprocessor

M2PP is a simple preprocessor for the Modula-2 language.

It generates Modula-2 source files from generic Modula-2 source file templates. Its primary purpose is to provide a means to write and maintain dialect independent code that is portable across different Modula-2 dialects. However, it can also be used for generic programming where the Modula-2 dialect or compiler does not support generics.

M2PP is itself portable across dialects (PIM3, PIM4, ISO) and compilers (see below). Where necessary, adaptation libraries are provided. Thus far the following compilers are specifically supported:

Further, any Modula-2 compiler that supports PIM3/4 and includes modules FileSystem, Storage and Terminal should be able to compile M2PP without problems, for example:

  • FST Modula-2
  • Logitech Modula-2
  • M2F Modula-2
  • TERRA Modula-2

Adaptation libraries for Aglet Modula-2 and Clarion (formerly TopSpeed) Modula-2 are still missing and shall be added later (contributors welcome).

For more details please visit the project wiki at the URL:

https://github.com/m2sf/m2pp/wiki

+++

About

Modula-2 Preprocessor

License:GNU Lesser General Public License v2.1


Languages

Language:Modula-2 100.0%