home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ruby164.zip / rbemx164.zip / ruby / share / doc / racc-1.3.9 / README.en < prev    next >
Text File  |  2001-04-07  |  1KB  |  61 lines

  1. Racc README
  2.  
  3.   Racc is a LALR(1) parser generator.
  4.   It is written in Ruby and outputs Ruby script.
  5.  
  6.  
  7. [Requirement]
  8.  
  9.   *  ruby version 1.4.x or later. Latest 1.6 is best.
  10.  (*) C compiler
  11.  
  12.   C compiler is optional.
  13.  
  14. [Installation]
  15.  
  16.   Simplest way for installation is below:
  17.  
  18.   (in the top directory of package)
  19.   $ ruby setup.rb config
  20.   $ ruby setup.rb setup
  21.   # ruby setup.rb install   (maybe by root)
  22.  
  23.   You can install Racc into your favorite directory by using
  24.   setup.rb options. For detail, type "ruby setup.rb --help".
  25.  
  26.   If you don't have C compiler, "config" step might be:
  27.  
  28.   $ ruby setup.rb config --without=ext/*
  29.  
  30.  
  31. [Testing Racc]
  32.  
  33.   Racc comes with simple calcurator. To compile this, on shell:
  34.  
  35.       $ racc -e ruby -o calc calc.y
  36.  
  37.   This process costs few seconds (or less). Then type
  38.  
  39.       $ ./calc
  40.  
  41.   Is it OK ?
  42.   For Racc details, see HTML documents placed under 'doc.en/'
  43.   and sample grammer files under 'sample/'.
  44.  
  45.  
  46. [License]
  47.  
  48.   Racc is distributed under the terms of the GNU Lesser General
  49.   Public License version 2. But ruby script file generated
  50.   by Racc is not. You can treat those files as you like.
  51.  
  52.  
  53. [Bug]
  54.  
  55.   Bug report is welcome.
  56.   If you find a bug of Racc, please e-mail me. Your grammer file,
  57.   debug output genereted by "racc -g", are helpful.
  58.  
  59.  
  60. Minero Aoki <aamine@dp.u-netsurf.ne.jp>
  61.