@hackage language-Modula20.1.4

Parser, pretty-printer, and more for the Modula-2 programming language

language-Modula2 - Modula-2 parser, pretty-printer, and more

This package provides a library and executable for parsing and processing the source code in programming language Modula-2. The following functionality is presently available:

  • Parsing with the grammars specified in the Grammar module.
  • Constant folding with the ConstantFolder module.
  • Pretty-printing of a parsed AST with the Pretty module.

Much of this functionality is reused from the language-oberon package, and more should be coming in due course.