File: treetop.gemspec

package info (click to toggle)
ruby-treetop 1.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 772 kB
  • ctags: 855
  • sloc: ruby: 8,860; makefile: 3
file content (166 lines) | stat: -rw-r--r-- 6,910 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
# stub: treetop 1.6.7 ruby lib

Gem::Specification.new do |s|
  s.name = "treetop"
  s.version = "1.6.7"

  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.require_paths = ["lib"]
  s.authors = ["Nathan Sobo", "Clifford Heath"]
  s.date = "2016-07-20"
  s.description = "A Parsing Expression Grammar (PEG) Parser generator DSL for Ruby"
  s.email = "cliffordheath@gmail.com"
  s.executables = ["tt"]
  s.extra_rdoc_files = [
    "LICENSE",
    "README.md"
  ]
  s.files = [
    "LICENSE",
    "README.md",
    "Rakefile",
    "bin/tt",
    "doc/contributing_and_planned_features.markdown",
    "doc/grammar_composition.markdown",
    "doc/index.markdown",
    "doc/pitfalls_and_advanced_techniques.markdown",
    "doc/semantic_interpretation.markdown",
    "doc/site.rb",
    "doc/sitegen.rb",
    "doc/syntactic_recognition.markdown",
    "doc/tt.1",
    "doc/using_in_ruby.markdown",
    "examples/indented_blocks/indented_blocks.tt",
    "examples/indented_blocks/indented_blocks_test.rb",
    "examples/lambda_calculus/arithmetic.rb",
    "examples/lambda_calculus/arithmetic.treetop",
    "examples/lambda_calculus/arithmetic_node_classes.rb",
    "examples/lambda_calculus/arithmetic_test.rb",
    "examples/lambda_calculus/lambda_calculus.rb",
    "examples/lambda_calculus/lambda_calculus.treetop",
    "examples/lambda_calculus/lambda_calculus_node_classes.rb",
    "examples/lambda_calculus/lambda_calculus_test.rb",
    "examples/lambda_calculus/test_helper.rb",
    "lib/treetop.rb",
    "lib/treetop/bootstrap_gen_1_metagrammar.rb",
    "lib/treetop/compiler.rb",
    "lib/treetop/compiler/grammar_compiler.rb",
    "lib/treetop/compiler/lexical_address_space.rb",
    "lib/treetop/compiler/metagrammar.rb",
    "lib/treetop/compiler/metagrammar.treetop",
    "lib/treetop/compiler/node_classes.rb",
    "lib/treetop/compiler/node_classes/anything_symbol.rb",
    "lib/treetop/compiler/node_classes/atomic_expression.rb",
    "lib/treetop/compiler/node_classes/character_class.rb",
    "lib/treetop/compiler/node_classes/choice.rb",
    "lib/treetop/compiler/node_classes/declaration_sequence.rb",
    "lib/treetop/compiler/node_classes/grammar.rb",
    "lib/treetop/compiler/node_classes/inline_module.rb",
    "lib/treetop/compiler/node_classes/nonterminal.rb",
    "lib/treetop/compiler/node_classes/optional.rb",
    "lib/treetop/compiler/node_classes/parenthesized_expression.rb",
    "lib/treetop/compiler/node_classes/parsing_expression.rb",
    "lib/treetop/compiler/node_classes/parsing_rule.rb",
    "lib/treetop/compiler/node_classes/predicate.rb",
    "lib/treetop/compiler/node_classes/predicate_block.rb",
    "lib/treetop/compiler/node_classes/repetition.rb",
    "lib/treetop/compiler/node_classes/sequence.rb",
    "lib/treetop/compiler/node_classes/terminal.rb",
    "lib/treetop/compiler/node_classes/transient_prefix.rb",
    "lib/treetop/compiler/node_classes/treetop_file.rb",
    "lib/treetop/compiler/ruby_builder.rb",
    "lib/treetop/polyglot.rb",
    "lib/treetop/ruby_extensions.rb",
    "lib/treetop/ruby_extensions/string.rb",
    "lib/treetop/runtime.rb",
    "lib/treetop/runtime/compiled_parser.rb",
    "lib/treetop/runtime/interval_skip_list.rb",
    "lib/treetop/runtime/interval_skip_list/head_node.rb",
    "lib/treetop/runtime/interval_skip_list/interval_skip_list.rb",
    "lib/treetop/runtime/interval_skip_list/node.rb",
    "lib/treetop/runtime/syntax_node.rb",
    "lib/treetop/runtime/terminal_parse_failure.rb",
    "lib/treetop/runtime/terminal_syntax_node.rb",
    "lib/treetop/version.rb",
    "spec/compiler/and_predicate_spec.rb",
    "spec/compiler/anything_symbol_spec.rb",
    "spec/compiler/character_class_spec.rb",
    "spec/compiler/choice_spec.rb",
    "spec/compiler/circular_compilation_spec.rb",
    "spec/compiler/failure_propagation_functional_spec.rb",
    "spec/compiler/grammar_compiler_spec.rb",
    "spec/compiler/grammar_spec.rb",
    "spec/compiler/multibyte_chars_spec.rb",
    "spec/compiler/namespace_spec.rb",
    "spec/compiler/nonterminal_symbol_spec.rb",
    "spec/compiler/not_predicate_spec.rb",
    "spec/compiler/occurrence_range_spec.rb",
    "spec/compiler/one_or_more_spec.rb",
    "spec/compiler/optional_spec.rb",
    "spec/compiler/parenthesized_expression_spec.rb",
    "spec/compiler/parsing_rule_spec.rb",
    "spec/compiler/repeated_subrule_spec.rb",
    "spec/compiler/semantic_predicate_spec.rb",
    "spec/compiler/sequence_spec.rb",
    "spec/compiler/terminal_spec.rb",
    "spec/compiler/terminal_symbol_spec.rb",
    "spec/compiler/test_grammar.treetop",
    "spec/compiler/test_grammar.tt",
    "spec/compiler/test_grammar_do.treetop",
    "spec/compiler/test_grammar_magic_coding.treetop",
    "spec/compiler/test_grammar_magic_encoding.treetop",
    "spec/compiler/tt_compiler_spec.rb",
    "spec/compiler/zero_or_more_spec.rb",
    "spec/composition/a.treetop",
    "spec/composition/b.treetop",
    "spec/composition/c.treetop",
    "spec/composition/d.treetop",
    "spec/composition/f.treetop",
    "spec/composition/grammar_composition_spec.rb",
    "spec/composition/subfolder/e_includes_c.treetop",
    "spec/ruby_extensions/string_spec.rb",
    "spec/runtime/compiled_parser_spec.rb",
    "spec/runtime/syntax_node_spec.rb",
    "spec/spec_helper.rb",
    "treetop.gemspec"
  ]
  s.homepage = "https://github.com/cjheath/treetop"
  s.licenses = ["MIT"]
  s.rubygems_version = "2.4.5"
  s.summary = "A Ruby-based text parsing and interpretation DSL"

  if s.respond_to? :specification_version then
    s.specification_version = 4

    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
      s.add_runtime_dependency(%q<polyglot>, ["~> 0.3"])
      s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
      s.add_development_dependency(%q<activesupport>, ["~> 4"])
      s.add_development_dependency(%q<i18n>, ["~> 0.6"])
      s.add_development_dependency(%q<rr>, ["~> 1.0"])
      s.add_development_dependency(%q<rspec>, ["~> 3"])
      s.add_development_dependency(%q<rake>, ["~> 11"])
    else
      s.add_dependency(%q<polyglot>, ["~> 0.3"])
      s.add_dependency(%q<jeweler>, ["~> 2.0"])
      s.add_dependency(%q<activesupport>, ["~> 4"])
      s.add_dependency(%q<i18n>, ["~> 0.6"])
      s.add_dependency(%q<rr>, ["~> 1.0"])
      s.add_dependency(%q<rspec>, ["~> 3"])
      s.add_dependency(%q<rake>, ["~> 11"])
    end
  else
    s.add_dependency(%q<polyglot>, ["~> 0.3"])
    s.add_dependency(%q<jeweler>, ["~> 2.0"])
    s.add_dependency(%q<activesupport>, ["~> 4"])
    s.add_dependency(%q<i18n>, ["~> 0.6"])
    s.add_dependency(%q<rr>, ["~> 1.0"])
    s.add_dependency(%q<rspec>, ["~> 3"])
    s.add_dependency(%q<rake>, ["~> 11"])
  end
end