Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-parslet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update ruby-parslet to 1.8.0.
= 1.8 / 3Apr2017
+ The `ignored` atom that allows to ignore a part of the matched text.
`str('foo').ignore` will match 'foo', but not yield any parse output.
Thanks to chrismwendt (Chris Wendt).
+ Infix expression parser (arithmetics, anyone?) now supports custom reducers
in block form. Thanks to chrismwendt (Chris Wendt).
! Small patches to memory footprint (Christophe Bliard).
- blankslate dependency removed. You should be good - but if things break,
please let us know (Nikita Shilnikov).
! Parslet now has `parse_failure_cause`, replaces the earlier `cause`.
! Fixes all these interpreter warnings on modern rubies.
Update ruby-parslet to 1.7.1.
= 1.7 / 12Mar2015
! Small speed gains from improvements on the hot spots.
+ Contextual error reporter, a flavor of error reporting that emphasizes
context.
Update devel/ruby-parslet to 1.6.0.
pkgsrc changes:
- Add OVERRIDE_GEMSPEC for blankslate, it requires ~> 2.0 whereas we provide
blankslate 3.1.3. Testing with ruby-jekyll (the primary driver for this
update) suggests it works ok.
upstream changes:
+ EXPERIMENTAL: Parslet accelerators permit replacing parts of your parser
with optimized atoms using pattern matching. Look at
examples/optimized_erb.rb or the introduction to the feature in
qed/accelerators.md.
+ infix_expression permits to declare an infix expression parser (think
calculator) directly. This will solve many of the problems we have
more elegantly.
+ Rspec 3 syntax, though hideous, should now work.
- Drops 1.8.7 compatibility.
! A performance anomaly when parsing multibyte characters has been detected
and fixed with the help of Zach Moazeni (@zmoazeni).
! A few small bug fixes and optimisations have been introduced. API should
remain unchanged.
Update ruby-parslet to 1.5.0.
= 1.5 / 27Dec2012
+ Handles unconsumed input at end of parse completely differently. Instead
of generating a toplevel error, it now raises an error in every branch
of the parse. More information in the resulting exception ensues! Thanks
again to John Mettraux for inspiration & acceptance specs.
NOTE that this means that the UnconsumedInput exception is gone, since the
unconsumed input case is nothing special anymore.
* This history now finally reads like the Changelog of the linux kernel.
Meaning that probably no one ever reads this.
+ Captures and parsing subsequent input based on captured values. This has
been long overdue - finally you can parse HEREdocs with parslet!
Add ruby-parslet package version 1.4.0. Parslet makes developing complex parsers easy. It does so by * providing the best error reporting possible * not generating reams of code for you to debug Parslet takes the long way around to make your job easier. It allows for incremental language construction. Often, you start out small, implementing the atoms of your language first; _parslet_ takes pride in making this possible.