2 releases

0.2.2-rc2 Apr 19, 2024

#316 in WebAssembly

Download history 240/week @ 2024-04-15

240 downloads per month
Used in 3 crates (via mitex-parser)

Apache-2.0

88KB
2K SLoC

Given source strings, MiTeX Lexer provides a sequence of tokens

The core of the lexer is [Lexer<'a, S>] which receives a string &'a str and a TokenStream trait object S, then it provides public methods to peek and bump the token stream.

It has two main lexer implementations:

Dependencies

~4MB
~57K SLoC