/src Overview

Return to Contents
packrat.adb
packrat.ads
The main Packrat package.
packrat-errors.adb
packrat-errors.ads
packrat-errors-parts.adb
Error handling functionality. Use this if you need to handle Lexer_Error or Parser_Error exception messages.
packrat-lexers.adb
packrat-lexers.ads
Scanner functions, lexer components and combinators.
packrat-no_lex.ads Convenience package to allow use of parser combinators and related functionality without having to with and instantiate a long list of packages.
packrat-parse_graphs.adb
packrat-parse_graphs.ads
The data structure that parse results end up in. Externally it gives the appearance of a directed acyclic graph with several root nodes. Internally a lot of deduplication is done by labeling the nodes with starting points and the edges with finishing points then keeping track of what edges are valid to go down given the current position.
packrat-parsers.adb
packrat-parsers.ads
Parser functions and combinators. More flexible and extensive than Packrat.Lexers.
packrat-standard.ads Convenience package to allow use of both lexer and parser combinators as well as related functionality without having to with and instantiate a long list of packages.
packrat-tokens.adb
packrat-tokens.ads
Handles the individual tokens that lexers give as output and that form the nodes of a parse graph.
packrat-traits.adb
packrat-traits.ads
Convenience package to collect the various other things necessary to instantiate a lot of the other packages.
packrat-utilities.adb
packrat-utilities.ads
Convenience predicates for use with Satisfy combinators and the like when lexing or parsing standard strings.