mirror of
https://github.com/ruby/ruby.git
synced 2026-08-12 08:20:37 +08:00
This commit changes `struct parser_params` lastline and nextline from `VALUE` (String object) to `rb_parser_string_t *` so that dependency on Ruby Object is reduced. `parser_string_buffer_t string_buffer` is added to `struct parser_params` to manage `rb_parser_string_t` pointers of each line. All allocated line strings are freed in `rb_ruby_parser_free`.
Ripper README
=============
Ripper is a Ruby script parser. You can get information
by event-based style from the parser.
!! WARNING !!
Ripper is still early-alpha version.
I never assure any kind of backward compatibility.
Requirements
------------
* ruby 1.9 (support CVS HEAD only)
Usage
-----
See test/ripper/* and sample/ripper/*.
License
-------
Ruby License.
Minero Aoki
aamine@loveruby.net
http://i.loveruby.net