sexp_grammar 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +25 -0
  4. data/LICENCE.md +22 -0
  5. data/Manifest.txt +15 -0
  6. data/README.md +46 -0
  7. data/Rakefile +23 -0
  8. data/lib/sexp_grammar.rb +31 -0
  9. data/lib/sexp_grammar/alternative.rb +28 -0
  10. data/lib/sexp_grammar/element.rb +9 -0
  11. data/lib/sexp_grammar/grammar.rb +57 -0
  12. data/lib/sexp_grammar/loader.rb +1 -0
  13. data/lib/sexp_grammar/many.rb +52 -0
  14. data/lib/sexp_grammar/reference.rb +30 -0
  15. data/lib/sexp_grammar/rule.rb +29 -0
  16. data/lib/sexp_grammar/sequence.rb +28 -0
  17. data/lib/sexp_grammar/terminal.rb +35 -0
  18. data/lib/sexp_grammar/version.rb +14 -0
  19. data/sexp_grammar.gemspec +188 -0
  20. data/sexp_grammar.noespec +25 -0
  21. data/spec/alternative/test_eat.rb +20 -0
  22. data/spec/alternative/test_match_q.rb +20 -0
  23. data/spec/bool_expr.yml +19 -0
  24. data/spec/grammar.yml +24 -0
  25. data/spec/grammar/test_compile_rule.rb +25 -0
  26. data/spec/grammar/test_compile_rule_defn.rb +98 -0
  27. data/spec/grammar/test_fetch.rb +16 -0
  28. data/spec/many/test_eat.rb +59 -0
  29. data/spec/many/test_initialize.rb +36 -0
  30. data/spec/many/test_match_q.rb +24 -0
  31. data/spec/reference/test_eat.rb +13 -0
  32. data/spec/reference/test_match_q.rb +20 -0
  33. data/spec/rule/test_eat.rb +21 -0
  34. data/spec/rule/test_match_q.rb +24 -0
  35. data/spec/sequence/test_eat.rb +20 -0
  36. data/spec/sequence/test_match_q.rb +25 -0
  37. data/spec/spec_helper.rb +3 -0
  38. data/spec/terminal/test_eat.rb +20 -0
  39. data/spec/terminal/test_match_q.rb +56 -0
  40. data/spec/terminal/test_terminal_match.rb +89 -0
  41. data/spec/test_bool_expr.rb +27 -0
  42. data/spec/test_load.rb +35 -0
  43. data/spec/test_readme_examples.rb +44 -0
  44. data/spec/test_sexp_grammar.rb +8 -0
  45. data/tasks/debug_mail.rake +75 -0
  46. data/tasks/debug_mail.txt +13 -0
  47. data/tasks/gem.rake +68 -0
  48. data/tasks/spec_test.rake +71 -0
  49. data/tasks/unit_test.rake +76 -0
  50. data/tasks/yard.rake +51 -0
  51. metadata +169 -0
metadata ADDED
@@ -0,0 +1,169 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sexp_grammar
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Bernard Lambeau
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: epath
16
+ requirement: &70120794743000 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.0.1
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70120794743000
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70120794742320 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.2
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70120794742320
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70120794741800 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 2.8.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70120794741800
47
+ - !ruby/object:Gem::Dependency
48
+ name: wlang
49
+ requirement: &70120794741240 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.10.2
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70120794741240
58
+ description: SexpGrammar helps manipulating sexp-like grammars in ruby.
59
+ email:
60
+ - blambeau@gmail.com
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files:
64
+ - README.md
65
+ - CHANGELOG.md
66
+ - LICENCE.md
67
+ files:
68
+ - sexp_grammar.gemspec
69
+ - sexp_grammar.noespec
70
+ - CHANGELOG.md
71
+ - Gemfile
72
+ - Gemfile.lock
73
+ - lib/sexp_grammar/alternative.rb
74
+ - lib/sexp_grammar/element.rb
75
+ - lib/sexp_grammar/grammar.rb
76
+ - lib/sexp_grammar/loader.rb
77
+ - lib/sexp_grammar/many.rb
78
+ - lib/sexp_grammar/reference.rb
79
+ - lib/sexp_grammar/rule.rb
80
+ - lib/sexp_grammar/sequence.rb
81
+ - lib/sexp_grammar/terminal.rb
82
+ - lib/sexp_grammar/version.rb
83
+ - lib/sexp_grammar.rb
84
+ - LICENCE.md
85
+ - Manifest.txt
86
+ - Rakefile
87
+ - README.md
88
+ - spec/alternative/test_eat.rb
89
+ - spec/alternative/test_match_q.rb
90
+ - spec/bool_expr.yml
91
+ - spec/grammar/test_compile_rule.rb
92
+ - spec/grammar/test_compile_rule_defn.rb
93
+ - spec/grammar/test_fetch.rb
94
+ - spec/grammar.yml
95
+ - spec/many/test_eat.rb
96
+ - spec/many/test_initialize.rb
97
+ - spec/many/test_match_q.rb
98
+ - spec/reference/test_eat.rb
99
+ - spec/reference/test_match_q.rb
100
+ - spec/rule/test_eat.rb
101
+ - spec/rule/test_match_q.rb
102
+ - spec/sequence/test_eat.rb
103
+ - spec/sequence/test_match_q.rb
104
+ - spec/spec_helper.rb
105
+ - spec/terminal/test_eat.rb
106
+ - spec/terminal/test_match_q.rb
107
+ - spec/terminal/test_terminal_match.rb
108
+ - spec/test_bool_expr.rb
109
+ - spec/test_load.rb
110
+ - spec/test_readme_examples.rb
111
+ - spec/test_sexp_grammar.rb
112
+ - tasks/debug_mail.rake
113
+ - tasks/debug_mail.txt
114
+ - tasks/gem.rake
115
+ - tasks/spec_test.rake
116
+ - tasks/unit_test.rake
117
+ - tasks/yard.rake
118
+ homepage: https://github.com/blambeau/sexp_grammar
119
+ licenses: []
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ segments:
131
+ - 0
132
+ hash: 2174469194297470646
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 1.8.10
142
+ signing_key:
143
+ specification_version: 3
144
+ summary: A helper to manipulate sexp grammars
145
+ test_files:
146
+ - spec/alternative/test_eat.rb
147
+ - spec/alternative/test_match_q.rb
148
+ - spec/bool_expr.yml
149
+ - spec/grammar/test_compile_rule.rb
150
+ - spec/grammar/test_compile_rule_defn.rb
151
+ - spec/grammar/test_fetch.rb
152
+ - spec/grammar.yml
153
+ - spec/many/test_eat.rb
154
+ - spec/many/test_initialize.rb
155
+ - spec/many/test_match_q.rb
156
+ - spec/reference/test_eat.rb
157
+ - spec/reference/test_match_q.rb
158
+ - spec/rule/test_eat.rb
159
+ - spec/rule/test_match_q.rb
160
+ - spec/sequence/test_eat.rb
161
+ - spec/sequence/test_match_q.rb
162
+ - spec/spec_helper.rb
163
+ - spec/terminal/test_eat.rb
164
+ - spec/terminal/test_match_q.rb
165
+ - spec/terminal/test_terminal_match.rb
166
+ - spec/test_bool_expr.rb
167
+ - spec/test_load.rb
168
+ - spec/test_readme_examples.rb
169
+ - spec/test_sexp_grammar.rb