re-distribution of Racc runtime

A parser which is created by Racc requires Racc runtime. You should re-distribute Racc runtime with your parser, or user need to install Racc.

A Ruby script "pack.rb" helps you to include Racc runtime into your own package. Usage of pack.rb is:


/usr/src/racc-xxx/ $ ruby pack.rb TARGET/

This copies Racc runtime under directory TARGET/ . (attention: pack.rb will clears TARGET/ !!)

And the way to install Racc runtime when your installation is:


  cd TARGET/
  ruby setup.rb

or, from Ruby script,

  Dir.chdir 'TARGET/'
  system "ruby setup.rb"


Copyright(c) 1998-1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>