3 releases
0.0.2 | Mar 13, 2024 |
---|---|
0.0.1 | Mar 13, 2024 |
0.0.0 | Mar 13, 2024 |
#26 in #token-parser
29 downloads per month
Used in 5 crates
54KB
1.5K
SLoC
Terminology:
Name | Description |
---|---|
Stream |
A structure that would produce Item when asked |
Parser |
Something that will check that Item produced by Stream are correct |
Context |
A structure that will manage Failure from Parser |
Token |
Represent what a Parser return for Success |
Atom |
A structure that contain information about the Failure or Error from a Parser |
Element |
Something, generally an enumeration, that will contain all different kind of Atom |
Parsed |
Enumeration that indicate result of a Parser |
Parse |
A trait that all Parser implement, used to use a Parser |
Failure |
Indicate a Parser didn't validate the input |
Success |
Indicate a Parser validate the input |
Error |
Indicate a Parser encounter an irrecoverable error. |
Streaming |
A trait that Stream implement to make their job |
Item |
Item produced by a Stream , generally just an u8 |
Span |
A delimited part of the Stream |
Contexting |
A trait that all Context will implement, used to accumulate failure of Parser |
Dependencies
~0.5–2.7MB
~48K SLoC