./devel/ruby-parslet, Parser construction library with great error reporting

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.0, Package name: ruby23-parslet-1.8.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 13ecd1ed62bcc592c5b91d648ee7d3459cb96fee
RMD160: 68bac52777e1b13ceb25d95537b77202e347a22b
Filesize: 78 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-22 18:27:32 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.
   2015-11-23 08:19:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.
   2015-11-20 12:54:25 by Jonathan Perkin | Files touched by this commit (3) | Package updated
Log message:
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.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-02-01 13:43:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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!
   2013-02-11 09:47:20 by Takahiro Kambe | Files touched by this commit (4)
Log message:
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.