1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/racc/racc.gemspec

59 lines
2 KiB
Ruby
Raw Normal View History

# -*- encoding: utf-8 -*-
begin
require_relative "lib/racc/info"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "info"
end
Gem::Specification.new do |s|
s.name = "racc"
s.version = Racc::VERSION
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 = "https://i.loveruby.net/en/projects/racc/"
s.licenses = ["Ruby", "BSD-2-Clause"]
s.executables = ["racc"]
2019-09-16 07:01:42 -04:00
s.files = [
"COPYING", "ChangeLog", "TODO",
"README.ja.rdoc", "README.rdoc", "bin/racc",
"ext/racc/MANIFEST",
"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/sourcetext.rb",
2019-09-16 07:01:42 -04:00
"lib/racc/state.rb", "lib/racc/statetransitiontable.rb",
"lib/racc/static.rb",
"doc/en/NEWS.en.rdoc", "doc/en/grammar2.en.rdoc",
"doc/en/grammar.en.rdoc", "doc/ja/NEWS.ja.rdoc",
"doc/ja/command.ja.html", "doc/ja/debug.ja.rdoc",
"doc/ja/grammar.ja.rdoc", "doc/ja/index.ja.html",
"doc/ja/parser.ja.rdoc", "doc/ja/usage.ja.html",
2019-09-16 07:01:42 -04:00
]
2019-12-10 03:03:46 -05:00
s.require_paths = ["lib"]
s.required_ruby_version = ">= 2.5"
2019-12-10 03:03:46 -05:00
s.rdoc_options = ["--main", "README.rdoc"]
s.extra_rdoc_files = ["README.ja.rdoc", "README.rdoc"]
2019-12-10 03:03:46 -05:00
if RUBY_PLATFORM =~ /java/
s.files << 'lib/racc/cparse-jruby.jar'
s.platform = 'java'
else
s.extensions = ["ext/racc/cparse/extconf.rb"]
2019-12-10 03:03:46 -05:00
end
end