@hackage / language-Modula2

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

Latest0.1.5

About

Metadata

  • Last updated , by MarioBlazevic
  • License GPL-3.0-or-later
  • Maintained by: blamario@protonmail.com

  • Lottery factor: 1

Links

Installation

Readme

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.