ruby/ext/ripper
charliesome a056098cb7 * NEWS: Add note about frozen string literals
* 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
2013-09-02 07:11:41 +00:00
..
lib Improve rdoc for Ripper, based on a patch by Oscar Del Ben [github:219] 2012-12-08 07:06:24 +00:00
tools suppress warnings. 2012-02-25 07:08:47 +00:00
README * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
depend * lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other 2013-04-13 18:00:25 +00:00
eventids2.c * NEWS: Add note about frozen string literals 2013-09-02 07:11:41 +00:00
extconf.rb * ext/ripper/extconf.rb: Use an exception instead of bare 2012-05-18 07:01:54 +00:00

README

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