./devel/ruby-parser, Ruby parser written in pure ruby

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


Branch: CURRENT, Version: 3.9.0, Package name: ruby23-parser-3.9.0, Maintainer: pkgsrc-users

ruby_parser (RP) is a ruby parser written in pure ruby
(utilizing racc - which does by default use a C extension).
RP's output is the same as ParseTree's output: s-expressions
using ruby's arrays and base types.


Required to run:
[devel/ruby-sexp-processor] [lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: c6c3384bd81410245b64b8066b1ea05443d00bee
RMD160: 0f095523e742360e4ade5910d9781c9932af8ece
Filesize: 402 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-22 18:25:55 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-parser to 3.9.0.

=== 3.9.0 / 2017-04-13

* 1 major enhancement:

  * Added tentative ruby 2.4 support. Probably missing things.

* 13 minor enhancements:

  * Added RubyParser.latest.
  * Added RubyParser::Parser.version to make version range comparisons easier
  * Changed superclasses of all parsers to RubyParser::Parser
  * Cleaned up a lot of the version specific code to be more generic/flexible.
  * Documented how to add new versions in README.
  * Moved RubyParser from ruby_parser_extras.rb into ruby_parser.rb to fix \ 
bootstrap issues.
  * Renamed RubyParserStuff#get_match_node to new_match. Aliased and deprecated.
  * Renamed RubyParserStuff#logop to logical_op. Aliased and deprecated.
  * Renamed RubyParserStuff#node_assign to new_assign. Aliased and deprecated.
  * Renamed all parsers to RubyParser::V##.
  * Revamped grammar preprocessing to make adding new versions easier.
  * RubyParser.for_current_ruby falls back to latest if current not available.
  * Subclasses of RubyParser::Parser register themselves into RubyParser::VERSIONS.

* 4 bug fixes:

  * Fixed `&.` after newline. (presidentbeef)
  * Fixed bug setting line number for hash literals to line of opening brace.
  * Fixed grammar preprocessing bug.
  * Properly handle kDO with no-parens stabby lambda. (presidentbeef)
   2017-03-19 18:00:05 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-parser to 3.8.4.

=== 3.8.4 / 2017-01-13

* 3 bug fixes:

  * Fix parsing if in LHS label position. (presidentbeef)
  * Fixed parsing of anonymous keyword splat arg (eg f(**)).
  * Fixed ruby 2.4+ deprecation warnings about using Fixnum.
   2016-10-20 16:43:25 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-parser to 3.8.3.

=== 3.8.3 / 2016-10-09

* 1 minor enhancement:

  * Support Ruby 2.1 number literals. (soutaro)

* 3 bug fixes:

  * Fixed line numbers for strs with backslash-newlines. (maxjacobson)
  * Improved compatibility on tokenizing number. (soutaro)
  * Refactored and fixed multiline array line numbers. (ptoomey3, with changes)
   2016-10-09 16:26:56 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-parser to 3.8.2.

=== 3.8.2 / 2016-05-05

* 2 bug fixes:

  * Fixed lex_state in interpolated strings. (whitequark)
  * Fixed safe operator for newline/semicolon contexts. (presidentbeef)
   2016-03-08 15:30:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-parser to 3.8.1.

=== 3.8.1 / 2016-02-19

* 1 bug fix:

  * Fixed problems with tLONELY in mlhs_node.

=== 3.8.0 / 2016-02-18

* 1 major enhancement:

  * Added support for Ruby 2.3.0 and the &. operator. (presidentbeef)

* 2 minor enhancements:

  * Add support for safe attr assign. (presidentbeef)
  * Added support for safe call. (presidentbeef)

* 1 bug fix:

  * Fixed parsing of { 'a': :b }. (presidentbeef)
   2016-02-16 16:57:00 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-parser to 3.7.3.

=== 3.7.3 / 2016-01-21

* 2 bug fixes:

  * Fixed parsing kwargs in defs with no parens. (presidentbeef)
  * defs should have a nil node if body is empty.
   2015-12-12 05:10:02 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Fix ALTERNATIVES.

Bump PKGREVISION.
   2015-11-29 15:24:22 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-parser to 3.7.2.

=== 3.7.2 / 2015-10-26

* 1 bug fix:

  * I hate regexen. Fixed a lexing bug confusing strings vs labels. (phiggins)