A library for parsing context-free grammars using Earley algorithm


Keywords
cfg, parser, earley, grammar, ast, earley-parser, ebnf, lexer, lisp-interpreter, math-expressions, parsing, rust, shunting-yard-algorithm
License
MIT

Documentation

rust crates for parsing stuff

lexers

Tokenizers for math expressions, splitting text, lexing lisp-like stuff, etc.

earlgrey

An Early CFG parser which can extract all trees and handle ambiguous grammars.

shunting

A tiny math parser that understands prefix/infix/postfix operators and functions.

kronos

A library to compute time expressions (eg: the 3rd monday of the week).

fluxcap

A binding of kronos and earlgrey to parse time expressions from text.

misc

  • lisp: a partial rust clone of lispy.