192 releases
new 0.0.226 | Jul 22, 2024 |
---|---|
0.0.222 | Jun 24, 2024 |
0.0.207 | Mar 25, 2024 |
0.0.190 | Dec 18, 2023 |
0.0.26 | Nov 30, 2020 |
#249 in Parser implementations
13,794 downloads per month
Used in 56 crates
(6 directly)
290KB
8K
SLoC
The Rust parser.
NOTE: The crate is undergoing refactors, don't believe everything the docs say :-)
The parser doesn't know about concrete representation of tokens and syntax
trees. Abstract TokenSource
and TreeSink
traits are used instead. As
a consequence, this crate does not contain a lexer.
The Parser
struct from the parser
module is a cursor into the
sequence of tokens. Parsing routines use Parser
to inspect current
state and advance the parsing.
The actual parsing happens in the grammar
module.
Tests for this crate live in the syntax
crate.
Dependencies
~1MB
~12K SLoC