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

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


Branch: CURRENT, Version: 3.10.1, Package name: ruby23-parser-3.10.1, 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: 02e7ec85a60d52933c23d387ad63c0580fdf5aad
RMD160: 7d2cabcb1612a4a5a0f14ba6884a0a2daa06acac
Filesize: 404.5 KB

Version history: (Expand)


CVS history: (Expand)


   2017-07-31 16:15:02 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-parser to 3.10.1.

=== 3.10.1 / 2017-07-21

* 2 bug fixes:

  * Fixed identification of parser version whether Ruby##Parser or Parser::V##.
  * Fixed squiggly heredoc lexing when using 24 parser.

=== 3.10.0 / 2017-07-17

* 4 minor enhancements:

  * Added support for 'squiggly heredocs' (indented content). (jjoos)
  * Bumped oedipus_lex to ~> 2.5.
  * Bumped sexp_processor to ~> 4.9.
  * Made STRICT_SEXP=1 safe: converted indexed sexps to semantic calls where needed.

* 5 bug fixes:

  * Clear and restore cmdarg stack around defs args and body. (presidentbeef)
  * Conditionalize use of sexp_body= to make it compatible w/ sexp_processor 4.9.0
  * Fix up line numbers in strings with newlines and `#`. (presidentbeef)
  * Fixed line numbers of resbodies.
  * Fixed some tracking of lexical state. Fixes bug #249.
   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.