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

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


Branch: CURRENT, Version: 3.21.1, Package name: ruby32-parser-3.21.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/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 748.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-07-14 08:59:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-parser: update to 3.21.1

3.21.1 (2024-07-09)

1 bug fix:

* Fix errors created when string literals are frozen.
   2024-02-03 16:34:21 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-parser: update to 3.21.0

3.21.0 (2024-01-15)

18 minor enhancements:

* (internal) Added simple RubyLexer#comment.
* (internal) Removed RubyLexer#comments and #ignore_body_comments.
* (internal) Removed RubyParser#comments.
* (internal) Renamed files from lib/ruby##_parser.* to lib/ruby_parser##.*
* (internal) Renamed lib/ruby3_parser.yy to lib/ruby_parser3.yy
* (internal) Renamed lib/ruby_parser.yy to lib/ruby_parser2.yy
* Added tentative 3.2 support. (torrocus)
* Made `rake compare` a multitask (28s -> 10s!!).
* Made `rake compare` depend on `generate` (from clean: 28s -> 18s).
* No longer package versioned .y files.
* Overhaul of parser/lexer comment processing.
* Parser productions for k_class/k_module/k_def carry their comment with
  them.
* Restructured build tasks to utilize Hoe's .yy support! 8.5s -> 1.2s!!!
* RubyParser new_(class|module|defn|defs) handle comment processing via
  sexp.
* RubyParser new_(class|module|defn|defs) handle normalizing production
  sexps.
* RubyParser#next_token clears out lexer's comment when applicable.
* Simplified parser productions for defn_head, defs_head. No more
  normalizing.
* Updated `rake compare` steps for lrama in ruby 3.3+.

6 bug fixes:

* Cleaned out cruft from `rake compare` code.
* Fixed compare/normalize.rb for lrama differences.
* Made `parser` task depend on `isolate` task to pick up racc generator.
* Made racc a runtime dependency (was dev only) now that ruby 3.3 doesn't
  ship with the racc runtime. (wildmaples)
* Updated README.rdoc updating instructions to match current filenames.
* Updated compare versions and added 3.3.
   2023-07-15 16:37:00 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-parser: update to 3.20.3

3.20.3 (2023-07-11)

2 minor enhancements:

* Added Parser#in_argdef and integrated into 3.x parsers.
* Improved tools/munge.rb to handler MRI 3.2 output

2 bug fixes:

* Fixed process_dots to properly deal with paren-less forward_args. (eric1234)
* Fixed tools/ripper.rb to properly print ripper sexp at the end
   2023-06-09 16:00:00 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-parser: update to 3.20.2

3.20.2 (2023-06-06)

1 bug fix:

* 3.2: fixed parsing of f(*) and f(**). (agrobbin)
   2023-05-21 04:39:26 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-parser: update to 3.20.1

3.20.1 (2023-05-16)

1 minor enhancement:

* Fixes Sexp#line_max in parser for many constructs: paren_args, arrays of
  various sorts, calls, classes, modules, etc.
   2023-03-05 14:46:02 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-parser: update to 3.20.0

3.20.0 (2023-03-04)

1 major enhancement:

* Added tentative 3.2 support.

1 minor enhancement:

* Change minimum ruby version to 2.6. (want higher)

1 bug fix:

* Fix up compare tasks for ruby 3.2 differences.
   2022-12-04 17:46:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-parser: update to 3.19.2

3.19.2 (2022-12-03)

5 Bug fixes:

* Fixed bug parsing array patterns using %w, %i, etc.

* Fixed dedenting when heredoc has only empty line and interpolation. (mvz)

* Fixed dsym unescaping. (mvz)

* Fixed vars in pattern matching that should be lasgn, not lvar.

* find_pat mid-patterns are now splatted inline, not wrapped in an array_pat.
   2022-09-01 18:03:16 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-parser: update to 3.19.1

3.19.1 (2022-04-05)

2 bug fixes:

* Added comments to endless defn and defs. (mvz)
* Fixed endless method bug handling attrset names.