Monday banner

Title

Simple Parser Framework Library

Description

This is the Monday simple-parser library, a framework for conveniently generating lexical scanners and parsers. It is designed to provide the following features: Entirely embedded within the Dylan language, without requiring the use of any additional tools. Allows lexical tokens to be defined using standard regular expression notation. Allows LALR(1) grammar productions to be defined using succinct BNF-like notation. Directly supports the creation of Abstract Syntax Tree nodes. Directly supports the automatic recording of source location information using the source-location library.

Sources

  • Simple Parser Framework Library (PDF, HTML)
    • Module Dylan-user
    • Module simple-lexical-definition
    • Module simple-lexical-scanner
    • Module simple-parser-automaton
    • Module simple-parser-implementation