#parser-combinator #parser #combinator #token-parser #core

nightly no-std binator_core

This contains all cores traits needed to work with binator

3 releases

0.0.2 Mar 13, 2024
0.0.1 Mar 13, 2024
0.0.0 Mar 13, 2024

#325 in Parser tooling

Download history 276/week @ 2024-03-13 12/week @ 2024-03-20 19/week @ 2024-03-27 34/week @ 2024-04-03

53 downloads per month
Used in 5 crates

Zlib license

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.6–2.8MB
~49K SLoC