sexpr 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +13 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +25 -0
- data/LICENCE.md +22 -0
- data/Manifest.txt +15 -0
- data/README.md +46 -0
- data/Rakefile +23 -0
- data/lib/sexpr.rb +31 -0
- data/lib/sexpr/alternative.rb +28 -0
- data/lib/sexpr/element.rb +9 -0
- data/lib/sexpr/grammar.rb +82 -0
- data/lib/sexpr/loader.rb +1 -0
- data/lib/sexpr/many.rb +52 -0
- data/lib/sexpr/reference.rb +30 -0
- data/lib/sexpr/rule.rb +29 -0
- data/lib/sexpr/sequence.rb +28 -0
- data/lib/sexpr/terminal.rb +35 -0
- data/lib/sexpr/version.rb +14 -0
- data/sexpr.gemspec +188 -0
- data/sexpr.noespec +25 -0
- data/spec/alternative/test_eat.rb +20 -0
- data/spec/alternative/test_match_q.rb +20 -0
- data/spec/bool_expr.yml +19 -0
- data/spec/grammar.yml +24 -0
- data/spec/grammar/test_compile_rule.rb +25 -0
- data/spec/grammar/test_compile_rule_defn.rb +98 -0
- data/spec/grammar/test_fetch.rb +18 -0
- data/spec/grammar/test_parse.rb +32 -0
- data/spec/grammar/test_root.rb +20 -0
- data/spec/many/test_eat.rb +59 -0
- data/spec/many/test_initialize.rb +36 -0
- data/spec/many/test_match_q.rb +24 -0
- data/spec/reference/test_eat.rb +13 -0
- data/spec/reference/test_match_q.rb +20 -0
- data/spec/rule/test_eat.rb +21 -0
- data/spec/rule/test_match_q.rb +24 -0
- data/spec/sequence/test_eat.rb +20 -0
- data/spec/sequence/test_match_q.rb +25 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/terminal/test_eat.rb +20 -0
- data/spec/terminal/test_match_q.rb +56 -0
- data/spec/terminal/test_terminal_match.rb +89 -0
- data/spec/test_bool_expr.rb +27 -0
- data/spec/test_load.rb +35 -0
- data/spec/test_readme_examples.rb +44 -0
- data/spec/test_sexpr.rb +8 -0
- data/tasks/debug_mail.rake +75 -0
- data/tasks/debug_mail.txt +13 -0
- data/tasks/gem.rake +68 -0
- data/tasks/spec_test.rake +71 -0
- data/tasks/unit_test.rake +76 -0
- data/tasks/yard.rake +51 -0
- metadata +173 -0
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sexpr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Bernard Lambeau
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-02-21 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: epath
|
16
|
+
requirement: &74756970 !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: *74756970
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake
|
27
|
+
requirement: &74756420 !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: *74756420
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rspec
|
38
|
+
requirement: &74755120 !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: *74755120
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: wlang
|
49
|
+
requirement: &74648330 !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: *74648330
|
58
|
+
description: Sexpr helps manipulating s-expressions 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
|
+
- sexpr.gemspec
|
69
|
+
- sexpr.noespec
|
70
|
+
- CHANGELOG.md
|
71
|
+
- Gemfile
|
72
|
+
- Gemfile.lock
|
73
|
+
- lib/sexpr.rb
|
74
|
+
- lib/sexpr/element.rb
|
75
|
+
- lib/sexpr/terminal.rb
|
76
|
+
- lib/sexpr/rule.rb
|
77
|
+
- lib/sexpr/grammar.rb
|
78
|
+
- lib/sexpr/alternative.rb
|
79
|
+
- lib/sexpr/sequence.rb
|
80
|
+
- lib/sexpr/loader.rb
|
81
|
+
- lib/sexpr/reference.rb
|
82
|
+
- lib/sexpr/many.rb
|
83
|
+
- lib/sexpr/version.rb
|
84
|
+
- LICENCE.md
|
85
|
+
- Manifest.txt
|
86
|
+
- Rakefile
|
87
|
+
- README.md
|
88
|
+
- spec/spec_helper.rb
|
89
|
+
- spec/bool_expr.yml
|
90
|
+
- spec/reference/test_eat.rb
|
91
|
+
- spec/reference/test_match_q.rb
|
92
|
+
- spec/grammar.yml
|
93
|
+
- spec/rule/test_eat.rb
|
94
|
+
- spec/rule/test_match_q.rb
|
95
|
+
- spec/many/test_eat.rb
|
96
|
+
- spec/many/test_initialize.rb
|
97
|
+
- spec/many/test_match_q.rb
|
98
|
+
- spec/test_sexpr.rb
|
99
|
+
- spec/test_load.rb
|
100
|
+
- spec/sequence/test_eat.rb
|
101
|
+
- spec/sequence/test_match_q.rb
|
102
|
+
- spec/grammar/test_compile_rule.rb
|
103
|
+
- spec/grammar/test_root.rb
|
104
|
+
- spec/grammar/test_fetch.rb
|
105
|
+
- spec/grammar/test_compile_rule_defn.rb
|
106
|
+
- spec/grammar/test_parse.rb
|
107
|
+
- spec/test_bool_expr.rb
|
108
|
+
- spec/test_readme_examples.rb
|
109
|
+
- spec/terminal/test_eat.rb
|
110
|
+
- spec/terminal/test_terminal_match.rb
|
111
|
+
- spec/terminal/test_match_q.rb
|
112
|
+
- spec/alternative/test_eat.rb
|
113
|
+
- spec/alternative/test_match_q.rb
|
114
|
+
- tasks/debug_mail.rake
|
115
|
+
- tasks/yard.rake
|
116
|
+
- tasks/gem.rake
|
117
|
+
- tasks/spec_test.rake
|
118
|
+
- tasks/unit_test.rake
|
119
|
+
- tasks/debug_mail.txt
|
120
|
+
homepage: https://github.com/blambeau/sexp
|
121
|
+
licenses: []
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
hash: 972369935
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ! '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 1.8.15
|
144
|
+
signing_key:
|
145
|
+
specification_version: 3
|
146
|
+
summary: A compilation framework around s-expressions
|
147
|
+
test_files:
|
148
|
+
- spec/spec_helper.rb
|
149
|
+
- spec/bool_expr.yml
|
150
|
+
- spec/reference/test_eat.rb
|
151
|
+
- spec/reference/test_match_q.rb
|
152
|
+
- spec/grammar.yml
|
153
|
+
- spec/rule/test_eat.rb
|
154
|
+
- spec/rule/test_match_q.rb
|
155
|
+
- spec/many/test_eat.rb
|
156
|
+
- spec/many/test_initialize.rb
|
157
|
+
- spec/many/test_match_q.rb
|
158
|
+
- spec/test_sexpr.rb
|
159
|
+
- spec/test_load.rb
|
160
|
+
- spec/sequence/test_eat.rb
|
161
|
+
- spec/sequence/test_match_q.rb
|
162
|
+
- spec/grammar/test_compile_rule.rb
|
163
|
+
- spec/grammar/test_root.rb
|
164
|
+
- spec/grammar/test_fetch.rb
|
165
|
+
- spec/grammar/test_compile_rule_defn.rb
|
166
|
+
- spec/grammar/test_parse.rb
|
167
|
+
- spec/test_bool_expr.rb
|
168
|
+
- spec/test_readme_examples.rb
|
169
|
+
- spec/terminal/test_eat.rb
|
170
|
+
- spec/terminal/test_terminal_match.rb
|
171
|
+
- spec/terminal/test_match_q.rb
|
172
|
+
- spec/alternative/test_eat.rb
|
173
|
+
- spec/alternative/test_match_q.rb
|