@hackage language-oberon0.3.3

Parser, pretty-printer, and more for the Oberon programming language

language-oberon - Oberon parser, pretty-printer, and more

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

  • Parsing with the grammars specified in the Grammar module.
  • Resolution of identifiers and disambiguation of a parsed AST with the Resolver module.
  • Checking and reporting of type errors with the TypeChecker module.
  • Constant folding with the ConstantFolder module.
  • Re-printing of a parsed AST in its original form, preserving the whitespace and comments, with the Reserializer module.
  • Pretty-printing of a parsed AST with the Pretty module.