mirror of
https://github.com/ruby/ruby.git
synced 2026-08-21 03:34:31 +08:00
* compile.c (case_when_optimizable_literal): optimize NODE_LIT strings in when clauses of case statements * ext/ripper/eventids2.c: add tSTRING_SUFFIX * parse.y: add 'f' suffix on string literals for frozen strings * test/ripper/test_scanner_events.rb: add scanner tests * test/ruby/test_string.rb: add frozen string tests [Feature #8579] [ruby-core:55699] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)
* bison 1.28 or later (Other yaccs do not work)
Usage
-----
See test/ripper/* and sample/ripper/*.
License
-------
Ruby License.
Minero Aoki
aamine@loveruby.net
http://i.loveruby.net