2019-06-20 01:31:41 -04:00
|
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2019-07-11 18:25:06 -04:00
|
|
|
s.name = "racc"
|
2020-03-25 08:39:03 -04:00
|
|
|
s.version = "1.5.0"
|
2019-12-10 03:03:46 -05:00
|
|
|
s.summary = "Racc is a LALR(1) parser generator"
|
2019-09-16 07:01:42 -04:00
|
|
|
s.description = <<DESC
|
|
|
|
Racc is a LALR(1) parser generator.
|
|
|
|
It is written in Ruby itself, and generates Ruby program.
|
|
|
|
|
|
|
|
NOTE: Ruby 1.8.x comes with Racc runtime module. You
|
|
|
|
can run your parsers generated by racc 1.4.x out of the
|
|
|
|
box.
|
|
|
|
DESC
|
2019-12-10 03:03:46 -05:00
|
|
|
s.authors = ["Minero Aoki", "Aaron Patterson"]
|
|
|
|
s.email = [nil, "aaron@tenderlovemaking.com"]
|
|
|
|
s.homepage = "http://i.loveruby.net/en/projects/racc/"
|
|
|
|
s.licenses = ["MIT"]
|
2019-12-31 17:53:27 -05:00
|
|
|
s.executables = ["racc"]
|
2019-09-16 07:01:42 -04:00
|
|
|
s.files = [
|
2020-03-25 08:39:03 -04:00
|
|
|
"COPYING", "ChangeLog",
|
2019-09-16 07:01:42 -04:00
|
|
|
"README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc",
|
2019-12-31 17:53:27 -05:00
|
|
|
"ext/racc/MANIFEST",
|
2020-02-26 23:33:51 -05:00
|
|
|
"ext/racc/com/headius/racc/Cparse.java", "ext/racc/cparse/cparse.c",
|
|
|
|
"ext/racc/cparse/extconf.rb",
|
|
|
|
"lib/racc.rb", "lib/racc/compat.rb",
|
2019-09-16 07:01:42 -04:00
|
|
|
"lib/racc/debugflags.rb", "lib/racc/exception.rb",
|
|
|
|
"lib/racc/grammar.rb", "lib/racc/grammarfileparser.rb",
|
|
|
|
"lib/racc/info.rb", "lib/racc/iset.rb",
|
|
|
|
"lib/racc/logfilegenerator.rb", "lib/racc/parser-text.rb",
|
|
|
|
"lib/racc/parser.rb", "lib/racc/parserfilegenerator.rb",
|
|
|
|
"lib/racc/pre-setup", "lib/racc/sourcetext.rb",
|
|
|
|
"lib/racc/state.rb", "lib/racc/statetransitiontable.rb",
|
2020-02-26 23:33:51 -05:00
|
|
|
"lib/racc/static.rb", "rdoc/en/NEWS.en.rdoc",
|
2019-09-16 07:01:42 -04:00
|
|
|
"rdoc/en/grammar.en.rdoc", "rdoc/ja/NEWS.ja.rdoc",
|
|
|
|
"rdoc/ja/command.ja.html", "rdoc/ja/debug.ja.rdoc",
|
|
|
|
"rdoc/ja/grammar.ja.rdoc", "rdoc/ja/index.ja.html",
|
|
|
|
"rdoc/ja/parser.ja.rdoc", "rdoc/ja/usage.ja.html",
|
|
|
|
"sample/array.y", "sample/array2.y", "sample/calc-ja.y",
|
|
|
|
"sample/calc.y", "sample/conflict.y", "sample/hash.y",
|
|
|
|
"sample/lalr.y", "sample/lists.y", "sample/syntax.y",
|
2020-02-26 23:33:51 -05:00
|
|
|
"sample/yyerr.y",
|
2019-09-16 07:01:42 -04:00
|
|
|
"test/assets/cadenza.y", "test/assets/cast.y",
|
|
|
|
"test/assets/chk.y", "test/assets/conf.y",
|
|
|
|
"test/assets/csspool.y", "test/assets/digraph.y",
|
|
|
|
"test/assets/echk.y", "test/assets/edtf.y", "test/assets/err.y",
|
|
|
|
"test/assets/error_recovery.y", "test/assets/expect.y",
|
|
|
|
"test/assets/firstline.y", "test/assets/huia.y",
|
|
|
|
"test/assets/ichk.y", "test/assets/intp.y",
|
|
|
|
"test/assets/journey.y", "test/assets/liquor.y",
|
|
|
|
"test/assets/machete.y", "test/assets/macruby.y",
|
|
|
|
"test/assets/mailp.y", "test/assets/mediacloth.y",
|
|
|
|
"test/assets/mof.y", "test/assets/namae.y", "test/assets/nasl.y",
|
|
|
|
"test/assets/newsyn.y", "test/assets/noend.y",
|
|
|
|
"test/assets/nokogiri-css.y", "test/assets/nonass.y",
|
|
|
|
"test/assets/normal.y", "test/assets/norule.y",
|
|
|
|
"test/assets/nullbug1.y", "test/assets/nullbug2.y",
|
|
|
|
"test/assets/opal.y", "test/assets/opt.y",
|
|
|
|
"test/assets/percent.y", "test/assets/php_serialization.y",
|
|
|
|
"test/assets/recv.y", "test/assets/riml.y",
|
|
|
|
"test/assets/rrconf.y", "test/assets/ruby18.y",
|
|
|
|
"test/assets/ruby19.y", "test/assets/ruby20.y",
|
|
|
|
"test/assets/ruby21.y", "test/assets/ruby22.y",
|
|
|
|
"test/assets/scan.y", "test/assets/syntax.y",
|
|
|
|
"test/assets/tp_plus.y", "test/assets/twowaysql.y",
|
|
|
|
"test/assets/unterm.y", "test/assets/useless.y",
|
|
|
|
"test/assets/yyerr.y", "test/bench.y", "test/helper.rb",
|
|
|
|
"test/infini.y", "test/regress/cadenza", "test/regress/cast",
|
|
|
|
"test/regress/csspool", "test/regress/edtf", "test/regress/huia",
|
|
|
|
"test/regress/journey", "test/regress/liquor",
|
|
|
|
"test/regress/machete", "test/regress/mediacloth",
|
|
|
|
"test/regress/mof", "test/regress/namae", "test/regress/nasl",
|
|
|
|
"test/regress/nokogiri-css", "test/regress/opal",
|
|
|
|
"test/regress/php_serialization", "test/regress/riml",
|
|
|
|
"test/regress/ruby18", "test/regress/ruby22",
|
|
|
|
"test/regress/tp_plus", "test/regress/twowaysql",
|
|
|
|
"test/scandata/brace", "test/scandata/gvar",
|
|
|
|
"test/scandata/normal", "test/scandata/percent",
|
|
|
|
"test/scandata/slash", "test/src.intp", "test/start.y",
|
|
|
|
"test/test_chk_y.rb", "test/test_grammar_file_parser.rb",
|
|
|
|
"test/test_racc_command.rb", "test/test_scan_y.rb",
|
|
|
|
"test/testscanner.rb", "web/racc.en.rhtml", "web/racc.ja.rhtml"
|
|
|
|
]
|
2019-12-10 03:03:46 -05:00
|
|
|
s.require_paths = ["lib"]
|
2019-07-11 18:25:06 -04:00
|
|
|
s.rubygems_version = "3.1.0.pre1"
|
2019-12-10 03:03:46 -05:00
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
|
|
s.rdoc_options = ["--main", "README.rdoc"]
|
|
|
|
s.extra_rdoc_files = [
|
2020-02-26 23:33:51 -05:00
|
|
|
"README.ja.rdoc", "README.rdoc",
|
2019-12-10 03:03:46 -05:00
|
|
|
"rdoc/en/NEWS.en.rdoc", "rdoc/en/grammar.en.rdoc",
|
|
|
|
"rdoc/ja/NEWS.ja.rdoc", "rdoc/ja/debug.ja.rdoc",
|
|
|
|
"rdoc/ja/grammar.ja.rdoc", "rdoc/ja/parser.ja.rdoc",
|
|
|
|
"README.ja.rdoc", "README.rdoc"
|
|
|
|
]
|
|
|
|
|
|
|
|
if RUBY_PLATFORM =~ /java/
|
|
|
|
s.files << 'lib/racc/cparse-jruby.jar'
|
2020-02-26 23:33:51 -05:00
|
|
|
s.platform = 'java'
|
|
|
|
else
|
|
|
|
s.extensions = ["ext/racc/cparse/extconf.rb"]
|
2019-12-10 03:03:46 -05:00
|
|
|
end
|
2019-06-20 01:31:41 -04:00
|
|
|
end
|