#parser #expression-parser #time-parser

bin+lib fluxcap

time expression parsing inspired on duckling

18 releases

0.1.1 Mar 14, 2023
0.1.0 Mar 24, 2022
0.0.16 Mar 11, 2022
0.0.15 Mar 19, 2021
0.0.1 Dec 23, 2016

#238 in Date and time

43 downloads per month

MIT license

645KB
5K SLoC

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.

Dependencies