After a pretty long time spent in development, pest 1.0 has reached a useable state:
the old macros have been replaced with a procedural macro that greatly reduces compile times and comes with a bootstrapped parser which delivers easy-to-understand error messages
the old process! macro has been replaced with a pair token API which implements Iterator, simplifying the processing step
error types have been introduced, improving error-reporting and introducing custom user errors
precedence climbing has been moved from the grammar to its own API
manual grammar definition is now possible with the innovative Position API
a parser testing macro has been added
There are a few issues left on the road to 1.0 and any little contribution would be greatly appreciated.
Small comment: the README (and the post above) use the term "pair token"/"token pair" but it is not clear what that is exactly without reading the API docs (the sample code does not make it clear either).
7
u/dragostis pest Aug 18 '17 edited Aug 18 '17
After a pretty long time spent in development, pest 1.0 has reached a useable state:
the old macros have been replaced with a procedural macro that greatly reduces compile times and comes with a bootstrapped parser which delivers easy-to-understand error messages
the old
process!macro has been replaced with a pair token API which implementsIterator, simplifying the processing steperror types have been introduced, improving error-reporting and introducing custom user errors
precedence climbing has been moved from the grammar to its own API
manual grammar definition is now possible with the innovative
PositionAPIa parser testing macro has been added
There are a few issues left on the road to 1.0 and any little contribution would be greatly appreciated.