HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.5.9/doc/racc-1.6.0/ri/page-README_rdoc.ri
U:RDoc::TopLevel[	iI"README.rdoc:ETcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"	Racc;To:RDoc::Markup::BlankLineo:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o:RDoc::Markup::Paragraph;[I",http://i.loveruby.net/en/projects/racc/;T@
S;	;
i;I"DESCRIPTION:;T@
o:RDoc::Markup::Verbatim;[I")Racc is a LALR(1) parser generator.
;TI"?It is written in Ruby itself, and generates Ruby program.
;TI"
;TI";NOTE: Ruby 1.8.x comes with Racc runtime module.  You
;TI"=can run your parsers generated by racc 1.4.x out of the
;TI"
box.
;T:@format0S;	;
i;I"Requirement;T@
o;;[I"*  Ruby 1.8.x or later.
;T;0S;	;
i;I"Installation;T@
o;;[ I"gem install:
;TI"
;TI"  $ gem install racc
;TI"
;TI"setup.rb install:
;TI"
;TI">Type this in the top directory of the extracted archive:
;TI"
;TI"  $ ruby setup.rb config
;TI"  $ ruby setup.rb setup
;TI"
 ($ su)
;TI"  # ruby setup.rb install
;TI"
;TI"AYou can install Racc into your favorite directory by giving
;TI"options to setup.rb. e.g.
;TI"
;TI",  $ ruby setup.rb config --prefix=/usr
;TI"
;TI".For details, try "ruby setup.rb --help".
;TI"
;TI""If you don't have C Compiler
;TI""----------------------------
;TI"
;TI">You can install Racc without C compilers. Type following
;TI"command in config phase.
;TI"
;TI",  $ ruby setup.rb config --without-ext
;T;0S;	;
i;I"Testing Racc;T@
o;;[I"CRacc comes with simple calculator. To compile this, on shell:
;TI"
;TI"    $ racc -o calc calc.y
;TI"
;TI":This process costs few seconds (or less). Then type:
;TI"
;TI"    $ ruby calc
;TI"
;TI"... Does it work?
;TI"EFor details of Racc, see HTML documents placed under 'rdoc/en/'
;TI"/and sample grammar files under 'sample/'.
;T;0S;	;
i;I"License;T@
o;;[	I"7Racc is distributed under the same terms of ruby.
;TI"A(see the file COPYING). Note that you do NOT need to follow
;TI"6ruby license for your own parser (racc outputs).
;TI"AYou can distribute those files under any licenses you want.
;T;0S;	;
i;I"Bug Reports;T@
o;;[I"(Any kind of bug report is welcome.
;TI"DIf you find a bug of Racc, please email me. Your grammar file,
;TI"7debug output generated by "racc -g", are helpful.
;TI"
;TI"E                                                    Minero Aoki
;TI"E                                            aamine@loveruby.net
;TI"D                                          http://i.loveruby.net;T;0:
@file@:0@omit_headings_from_table_of_contents_below0