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

[ gpl, language, library, program ] [ Propose Tags ]

The library and the executable supports two versions of the Modula-2 programming language: as described by the orginal language report and as standardized by the ISO.

[Skip to Readme]
Versions [faq] 0.1
Change log
Dependencies base (>=4.7 && <5), containers (>=0.5 && <1.0), deep-transformations (<0.2), directory (<1.4), either (==5.*), filepath (<1.5), grammatical-parsers (==0.5.*), input-parsers (<0.2), language-Modula2, language-oberon (==0.3.*), optparse-applicative, parsers (>=0.12.7 && <0.13), prettyprinter (>=1.2.1 && <1.7), rank2classes (>=1.3 && <1.5), repr-tree-syb (<0.2), template-haskell (>=2.11 && <2.17), text (<1.3) [details]
License GPL-3.0-or-later
Copyright (c) 2020 Mario Blažević
Author Mario Blažević
Category Language
Home page
Bug tracker
Uploaded by MarioBlazevic at 2020-11-11T13:55:24Z
Distributions NixOS:0.1
Executables parse
Downloads 45 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-11-11 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for language-Modula2-0.1

[back to package description]

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.