Function programinduction::trs::parser::parse_templates
source · pub fn parse_templates(
input: &str,
lex: &mut Lexicon
) -> Result<Vec<RuleContext>, ParseError>
Expand description
Given a Lexicon
, parse and typecheck a list of RuleContext
s (e.g.
templates
in parse_lexicon
). The format of a RuleContext
is as
given in term_rewriting
.