citrus 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +12 -0
- data/README +3 -3
- data/Rakefile +1 -1
- data/benchmark/after.dat +192 -0
- data/benchmark/before.dat +192 -0
- data/examples/calc.citrus +13 -41
- data/examples/{calc.rb → calc_test.rb} +0 -0
- data/examples/calc_test.rbc +2268 -0
- data/examples/{ipaddress.rb → ipaddress_test.rb} +0 -0
- data/examples/ipaddress_test.rbc +515 -0
- data/examples/{ipv4address.rb → ipv4address_test.rb} +0 -0
- data/examples/ipv4address_test.rbc +1112 -0
- data/examples/{ipv6address.rb → ipv6address_test.rb} +0 -0
- data/examples/ipv6address_test.rbc +1195 -0
- data/lib/citrus.rb +26 -23
- data/lib/citrus/file.rb +8 -8
- data/lib/citrus/version.rb +1 -1
- data/test/_files/grammar3.citrus +8 -0
- data/test/alias_test.rbc +1491 -0
- data/test/and_predicate_test.rbc +1327 -0
- data/test/but_predicate_test.rbc +1398 -0
- data/test/choice_test.rbc +1278 -0
- data/test/extension_test.rbc +1121 -0
- data/test/file_test.rbc +21465 -0
- data/test/grammar_test.rbc +3490 -0
- data/test/helper.rbc +1046 -0
- data/test/input_test.rbc +1775 -0
- data/test/label_test.rbc +692 -0
- data/test/match_test.rbc +2415 -0
- data/test/memoized_input_test.rbc +1124 -0
- data/test/multibyte_test.rbc +1597 -0
- data/test/not_predicate_test.rbc +1327 -0
- data/test/parse_error_test.rbc +1253 -0
- data/test/repeat_test.rbc +3245 -0
- data/test/sequence_test.rbc +1534 -0
- data/test/string_terminal_test.rbc +1802 -0
- data/test/super_test.rbc +2083 -0
- data/test/terminal_test.rbc +1315 -0
- metadata +59 -25
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citrus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 2
|
7
|
-
- 3
|
8
|
-
- 4
|
9
|
-
version: 2.3.4
|
4
|
+
version: 2.3.5
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Michael Jackson
|
@@ -14,22 +9,19 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date: 2011-
|
12
|
+
date: 2011-02-07 00:00:00 -08:00
|
18
13
|
default_executable:
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: rake
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
20
|
requirements:
|
26
21
|
- - ">="
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
23
|
version: "0"
|
31
|
-
|
32
|
-
version_requirements: *id001
|
24
|
+
version:
|
33
25
|
description: Parsing Expressions for Ruby
|
34
26
|
email: mjijackson@gmail.com
|
35
27
|
executables: []
|
@@ -40,6 +32,8 @@ extra_rdoc_files:
|
|
40
32
|
- README
|
41
33
|
- CHANGES
|
42
34
|
files:
|
35
|
+
- benchmark/after.dat
|
36
|
+
- benchmark/before.dat
|
43
37
|
- benchmark/seqpar.citrus
|
44
38
|
- benchmark/seqpar.gnuplot
|
45
39
|
- benchmark/seqpar.rb
|
@@ -52,44 +46,69 @@ files:
|
|
52
46
|
- doc/syntax.markdown
|
53
47
|
- doc/testing.markdown
|
54
48
|
- examples/calc.citrus
|
55
|
-
- examples/
|
49
|
+
- examples/calc_test.rb
|
50
|
+
- examples/calc_test.rbc
|
56
51
|
- examples/ipaddress.citrus
|
57
|
-
- examples/
|
52
|
+
- examples/ipaddress_test.rb
|
53
|
+
- examples/ipaddress_test.rbc
|
58
54
|
- examples/ipv4address.citrus
|
59
|
-
- examples/
|
55
|
+
- examples/ipv4address_test.rb
|
56
|
+
- examples/ipv4address_test.rbc
|
60
57
|
- examples/ipv6address.citrus
|
61
|
-
- examples/
|
58
|
+
- examples/ipv6address_test.rb
|
59
|
+
- examples/ipv6address_test.rbc
|
62
60
|
- lib/citrus/file.rb
|
63
61
|
- lib/citrus/version.rb
|
64
62
|
- lib/citrus.rb
|
65
63
|
- test/_files/alias.citrus
|
66
64
|
- test/_files/grammar1.citrus
|
67
65
|
- test/_files/grammar2.citrus
|
66
|
+
- test/_files/grammar3.citrus
|
68
67
|
- test/_files/rule1.citrus
|
69
68
|
- test/_files/rule2.citrus
|
70
69
|
- test/_files/rule3.citrus
|
71
70
|
- test/_files/super.citrus
|
72
71
|
- test/_files/super2.citrus
|
73
72
|
- test/alias_test.rb
|
73
|
+
- test/alias_test.rbc
|
74
74
|
- test/and_predicate_test.rb
|
75
|
+
- test/and_predicate_test.rbc
|
75
76
|
- test/but_predicate_test.rb
|
77
|
+
- test/but_predicate_test.rbc
|
76
78
|
- test/choice_test.rb
|
79
|
+
- test/choice_test.rbc
|
77
80
|
- test/extension_test.rb
|
81
|
+
- test/extension_test.rbc
|
78
82
|
- test/file_test.rb
|
83
|
+
- test/file_test.rbc
|
79
84
|
- test/grammar_test.rb
|
85
|
+
- test/grammar_test.rbc
|
80
86
|
- test/helper.rb
|
87
|
+
- test/helper.rbc
|
81
88
|
- test/input_test.rb
|
89
|
+
- test/input_test.rbc
|
82
90
|
- test/label_test.rb
|
91
|
+
- test/label_test.rbc
|
83
92
|
- test/match_test.rb
|
93
|
+
- test/match_test.rbc
|
84
94
|
- test/memoized_input_test.rb
|
95
|
+
- test/memoized_input_test.rbc
|
85
96
|
- test/multibyte_test.rb
|
97
|
+
- test/multibyte_test.rbc
|
86
98
|
- test/not_predicate_test.rb
|
99
|
+
- test/not_predicate_test.rbc
|
87
100
|
- test/parse_error_test.rb
|
101
|
+
- test/parse_error_test.rbc
|
88
102
|
- test/repeat_test.rb
|
103
|
+
- test/repeat_test.rbc
|
89
104
|
- test/sequence_test.rb
|
105
|
+
- test/sequence_test.rbc
|
90
106
|
- test/string_terminal_test.rb
|
107
|
+
- test/string_terminal_test.rbc
|
91
108
|
- test/super_test.rb
|
109
|
+
- test/super_test.rbc
|
92
110
|
- test/terminal_test.rb
|
111
|
+
- test/terminal_test.rbc
|
93
112
|
- citrus.gemspec
|
94
113
|
- Rakefile
|
95
114
|
- README
|
@@ -109,45 +128,60 @@ rdoc_options:
|
|
109
128
|
require_paths:
|
110
129
|
- lib
|
111
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
131
|
requirements:
|
114
132
|
- - ">="
|
115
133
|
- !ruby/object:Gem::Version
|
116
|
-
segments:
|
117
|
-
- 0
|
118
134
|
version: "0"
|
135
|
+
version:
|
119
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
137
|
requirements:
|
122
138
|
- - ">="
|
123
139
|
- !ruby/object:Gem::Version
|
124
|
-
segments:
|
125
|
-
- 0
|
126
140
|
version: "0"
|
141
|
+
version:
|
127
142
|
requirements: []
|
128
143
|
|
129
144
|
rubyforge_project:
|
130
|
-
rubygems_version: 1.3.
|
145
|
+
rubygems_version: 1.3.5
|
131
146
|
signing_key:
|
132
147
|
specification_version: 3
|
133
148
|
summary: Parsing Expressions for Ruby
|
134
149
|
test_files:
|
135
150
|
- test/alias_test.rb
|
151
|
+
- test/alias_test.rbc
|
136
152
|
- test/and_predicate_test.rb
|
153
|
+
- test/and_predicate_test.rbc
|
137
154
|
- test/but_predicate_test.rb
|
155
|
+
- test/but_predicate_test.rbc
|
138
156
|
- test/choice_test.rb
|
157
|
+
- test/choice_test.rbc
|
139
158
|
- test/extension_test.rb
|
159
|
+
- test/extension_test.rbc
|
140
160
|
- test/file_test.rb
|
161
|
+
- test/file_test.rbc
|
141
162
|
- test/grammar_test.rb
|
163
|
+
- test/grammar_test.rbc
|
142
164
|
- test/input_test.rb
|
165
|
+
- test/input_test.rbc
|
143
166
|
- test/label_test.rb
|
167
|
+
- test/label_test.rbc
|
144
168
|
- test/match_test.rb
|
169
|
+
- test/match_test.rbc
|
145
170
|
- test/memoized_input_test.rb
|
171
|
+
- test/memoized_input_test.rbc
|
146
172
|
- test/multibyte_test.rb
|
173
|
+
- test/multibyte_test.rbc
|
147
174
|
- test/not_predicate_test.rb
|
175
|
+
- test/not_predicate_test.rbc
|
148
176
|
- test/parse_error_test.rb
|
177
|
+
- test/parse_error_test.rbc
|
149
178
|
- test/repeat_test.rb
|
179
|
+
- test/repeat_test.rbc
|
150
180
|
- test/sequence_test.rb
|
181
|
+
- test/sequence_test.rbc
|
151
182
|
- test/string_terminal_test.rb
|
183
|
+
- test/string_terminal_test.rbc
|
152
184
|
- test/super_test.rb
|
185
|
+
- test/super_test.rbc
|
153
186
|
- test/terminal_test.rb
|
187
|
+
- test/terminal_test.rbc
|