Release 2.0.0-beta-198-0xf954
What's Changed
- Add
results/transform
function for batteries-included result tree postwalk processing - Add
results/coerce
andresults/collect
macros for use withtransform
Above additions makes that transforming a parse result tree does not have to be reinvented. The addition should be applicable for many use cases, in a succinct manner. The internals of string-grammar
have been rewritten to use transform
, coerce
and collect
, another case of eating its own dog food in this library.
- A comma (
,
) is now considered whitespace in the string-grammar syntax. - The parameter order of
success->text
anderrors->line-column
have been updated; the success node now comes first.
Full Changelog: v2.0.0-beta-195-0xb0fc...v2.0.0-beta-198-0xf954