3 releases

0.2.4 Jun 17, 2024
0.2.2-rc2 Apr 19, 2024

#1322 in WebAssembly

Download history 2/week @ 2024-11-17 1/week @ 2024-11-24 10/week @ 2024-12-08 1/week @ 2024-12-15 64/week @ 2025-02-09 24/week @ 2025-02-16

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

Apache-2.0

89KB
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

~5.5MB
~85K SLoC