View Source Grammar.CodeGen (Grammar v0.2.0)

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

Summary

Functions

Link to this function

build_production_for_rules(rules)

View Source
Link to this function

build_rule_body_functions(rules)

View Source
Link to this function

check_all_rules_exist(rules)

View Source
Link to this function

check_rules_are_not_ambiguous(rules)

View Source
Link to this function

store_clause(module, rule_name, meta, def, blk, epsilon)

View Source