1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/ripper
nobu d5a3389886 * common.mk (parse.c), ext/ripper/depend (ripper.c): process after
bison with sed.  [ruby-dev:32204]

* ruby.c (proc_options): use yydebug in cmdline_options.

* ruby.c (process_options): set yydebug flag of parser.

* parse.y (yydebug): moved into struct parser_params.

* parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser
  generic methods.

* */Makefile.sub (parse.c): moved to common.mk.

* tool/ytab.sed: comment out yydebug definition, and substitute
  yyerror with parser_yyerror.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13 12:41:41 +00:00
..
lib * parse.y (ripper): rename event: arglist_* -> args_*. 2007-09-17 12:02:35 +00:00
tools * ext/ripper/tools/preproc.rb (prelude): do not append surplus 2005-10-20 13:23:26 +00:00
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
depend * common.mk (parse.c), ext/ripper/depend (ripper.c): process after 2007-11-13 12:41:41 +00:00
eventids2.c * parse.y (keyword_to_name): constified. 2007-07-06 05:57:14 +00:00
extconf.rb * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
README * ext/ripper: refactoring code generation tools. [ruby-dev:27247] [ruby-dev:27273] 2005-09-22 20:58:10 +00:00

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