mistralrs::llguidance::earley

Function grammars_from_json

pub fn grammars_from_json(
    input: TopLevelGrammar,
    tok_env: &Arc<dyn TokenizerEnv + Sync>,
    logger: &mut Logger,
    limits: ParserLimits,
    extra_lexemes: Vec<String>,
) -> Result<Arc<CGrammar>, Error>