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

[ gpl, language, library, program ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.2, 0.1.3, 0.1.4, 0.1.4.1
Change log CHANGELOG.md
Dependencies base (>=4.16 && <5), containers (>=0.5 && <1.0), deep-transformations (>=0.2 && <0.3), directory (<1.4), either (>=5 && <6), filepath (<1.6), grammatical-parsers (>=0.7 && <0.8), input-parsers (>=0.2.2 && <0.4), language-Modula2, language-oberon (>=0.3 && <0.4), optparse-applicative, parsers (>=0.12.7 && <0.13), prettyprinter (>=1.2.1 && <1.8), rank2classes (>=1.3 && <1.6), repr-tree-syb (<0.2), template-haskell (>=2.11 && <2.22), text (<3) [details]
License GPL-3.0-or-later
Copyright (c) 2020 Mario Blažević
Author Mario Blažević
Maintainer blamario@protonmail.com
Category Language
Home page https://github.com/blamario/language-Modula2
Bug tracker https://github.com/blamario/language-Modula2/issues
Uploaded by MarioBlazevic at 2024-04-28T20:12:45Z
Distributions
Executables parse
Downloads 381 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-04-28 [all 1 reports]

Readme for language-Modula2-0.1.4.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.