15 breaking releases
0.17.0 | Oct 14, 2021 |
---|---|
0.15.0 | Oct 14, 2021 |
#1249 in Text processing
59 downloads per month
19KB
515 lines
A parsing library heavily leveraged by proc_macro
.
In resrap
, syntax trees are defined by the structure of data types implmenting [Parse].
Given T : Parse
, a resrap::Result<T>
is returned by passing a [Position] to T::parse
.
Along with the [Parse] trait, there's also a derive
macro of the same name which
automatically implements [Parse] for a struct
or enum
, given each of its members or variants also implement it.
Dependencies
~3–4.5MB
~87K SLoC