What is Modula-2 written in?

The Modula-2 compiler is written in Pascal.

Modula-2 is a programming language, first released in 1978.

Implementation

LayerWritten inNotes
CompilerPascal (since 1978)Early Modula-2 compilers written in Pascal

Compiler implementation

The Modula-2 compiler, written in Pascal, translates Modula-2 source code into an executable or intermediate format. The choice of implementation language affects the compiler's portability, build-time dependencies, and the path toward Modula-2 eventually becoming self-hosting.

Many language compilers are written in C or C++ for maximum portability and performance. When a compiler is written in a higher-level language, it can leverage that language's abstractions for clearer compiler code, at the cost of a longer bootstrap dependency chain.

Explore in the Graph

See Modula-2's full lineage, including all implementation and influence relationships, in the interactive graph.

Open Interactive Graph →

Or view the Modula-2 language page for the complete record.

Related Pages