/language-Modula2

Primary LanguageHaskellGNU General Public License v3.0GPL-3.0

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.