View Source API Reference Grammar v0.4.0

Modules

This module exposes functions and macros to create parsers of structured inputs. Parsers are defined as LL(1) grammars.

A Clause entity represents a grammar clause, by its substitution and callback to execute.

This module exposes functions required to generate the code for the parser derived from grammar rules.

Stores a clause definition.

A Rule entity represents a single rule in the grammar.

This module exports functions to check the correctness of the grammar rules.

This module extracts the tokens from the input string.

This protocol exposes the functions needed to extract tokens from the input string.

This module provides helper functions to work with TokenExtractor implementations using Regex.