This repository was archived by the owner on Feb 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.xml
More file actions
257 lines (241 loc) · 10.3 KB
/
package.xml
File metadata and controls
257 lines (241 loc) · 10.3 KB
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>PHP_ParserGenerator</name>
<channel>pear.php.net</channel>
<summary>translate grammar files in Lemon Parser Generator format into a PHP 5 parser</summary>
<description>Translate a grammar file in the lemon parser generator format
into a PHP 5-based parser
There are a few PHP-specific changes to the lemon parser generator.
- %extra_argument is removed, as class constructor can be used to
pass in extra information
- %token_type and company are irrelevant in PHP, and so are removed
- %declare_class is added to define the parser class name and any
implements/extends information
- %include_class is added to allow insertion of extra class information
such as constants, a class constructor, etc.
Other changes make the parser more robust, and also make reporting
syntax errors simpler. Detection of expected tokens eliminates some
problematic edge cases where an unexpected token could cause the parser
to simply accept input.
Otherwise, the file format is identical to the Lemon parser generator</description>
<lead>
<name>Greg Beaver</name>
<user>cellog</user>
<email>cellog@php.net</email>
<active>no</active>
</lead>
<date>2010-10-25</date>
<time>23:07:53</time>
<version>
<release>0.1.7</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
Automatically built QA release
Req #11361 better help message - cweiske
Bug #12652 Generated ParseryyToken class has broken __toString() - urkle
Bug #12730 Generated Parser destructor *can* loop forever - urkle
Req #13416 Provide an option to choose the parser template file - rix0r
Bug #16703 terminals starting with Z letter cause problems - taras
Bug #17381 infinite loop in __destruct of generated parser - jespino
Bug #17382 Empty action causes undefined function - jespino
</notes>
<contents>
<dir baseinstalldir="PHP" name="/">
<file baseinstalldir="PHP" md5sum="13a3398a51beea9dec65dfb05d52e35d" name="examples/Parser.php" role="doc" />
<file baseinstalldir="PHP" md5sum="45e1ad9672d1c88e8f650c2b16bda451" name="examples/Parser.y" role="doc" />
<file baseinstalldir="PHP" md5sum="cb1c3cc445e64a06081ef043dab688ae" name="examples/test.php" role="doc" />
<file baseinstalldir="PHP" md5sum="163043b3424d1001f185b69fec93efd9" name="ParserGenerator/Action.php" role="php" />
<file baseinstalldir="PHP" md5sum="9199c66aeefb2701064e168dde22fc56" name="ParserGenerator/ActionTable.php" role="php" />
<file baseinstalldir="PHP" md5sum="fa3601611a067d9dd0b219940bd0f1c5" name="ParserGenerator/cli.php" role="php" />
<file baseinstalldir="PHP" md5sum="b2c8aa1f459c1c7f2361867e34c4b57f" name="ParserGenerator/Config.php" role="php" />
<file baseinstalldir="PHP" md5sum="775a429b754987c021e200925fd9b8b5" name="ParserGenerator/Data.php" role="php" />
<file baseinstalldir="PHP" md5sum="da706529f3c0e26e375b0d6dc75fd74c" name="ParserGenerator/Parser.php" role="php" />
<file baseinstalldir="PHP" md5sum="1e1abcc1b67a153ed93593a51588dd93" name="ParserGenerator/PropagationLink.php" role="php" />
<file baseinstalldir="PHP" md5sum="4c0681e73709d4e362d50643bc1cb670" name="ParserGenerator/Rule.php" role="php" />
<file baseinstalldir="PHP" md5sum="82606ba5e842bca349ef0da59fb0fc9c" name="ParserGenerator/State.php" role="php" />
<file baseinstalldir="PHP" md5sum="45740f2626eb12ff32f8a77307e30b71" name="ParserGenerator/Symbol.php" role="php" />
<file baseinstalldir="PHP" md5sum="d2523086d34679f251e66680c902fd48" name="tests/bug9346.php" role="test" />
<file baseinstalldir="PHP" md5sum="55c11b24455f280fba2a1ec197759306" name="tests/bug9346.y" role="test" />
<file baseinstalldir="PHP" md5sum="4689ea4dce57beb3ba3a79411d7be5f7" name="tutorials/PHP_ParserGenerator/PHP_ParserGenerator.pkg" role="data" />
<file baseinstalldir="PHP" md5sum="64739c8c3a318b8e1ee493072bfd059e" name="docs.ini" role="data" />
<file baseinstalldir="PHP" md5sum="eb1a57330fa275cd80a199d13312e740" name="Lemon.php" role="php" />
<file baseinstalldir="PHP" md5sum="0ab4f403c93df4a6148aecd784724f2a" name="Lempar.php" role="php" />
<file baseinstalldir="PHP" md5sum="e26fdb8b090d1291743f5c525ae492a7" name="LICENSE.txt" role="doc" />
<file baseinstalldir="PHP" md5sum="d19e31ae983a5d0b7d9265bb3c0c191c" name="Main.php" role="php" />
<file baseinstalldir="PHP" md5sum="3deac2dba913107c07a77235840a4b6e" name="oops.out" role="data" />
<file baseinstalldir="PHP" md5sum="70f68535776d865827c7d240b1a005bf" name="oops.php" role="php" />
<file baseinstalldir="PHP" md5sum="9be9d09b2ec404273e7b335f7e27c933" name="oops.y" role="data" />
<file baseinstalldir="PHP" md5sum="5ad6b1c3c4e33132e7d8f3daeb999c5a" name="parsephp.php" role="php" />
<file baseinstalldir="PHP" md5sum="5e1d6815fbe0a207a9b48d7de9c1ad96" name="ParserGenerator.php" role="php" />
<file baseinstalldir="PHP" md5sum="8542d100889c858b031934d49961dbb4" name="PHP.out" role="data" />
<file baseinstalldir="PHP" md5sum="8a5c404c50998d8affe0cd8faff4ae81" name="PHP.php" role="php" />
<file baseinstalldir="PHP" md5sum="b8946769cadb6dddccd4ffb6bff42b6a" name="PHP.y" role="data" />
<file baseinstalldir="" md5sum="9ea08e9573f3ce76a2fd3694ad5e75bd" name="phplemon" role="script">
<tasks:unixeol />
</file>
<file baseinstalldir="" md5sum="f275bad665127fe5f785d82f8b37190f" name="phplemon.bat" role="script">
<tasks:windowseol />
</file>
<file baseinstalldir="PHP" md5sum="90840f182a21347dbcc27b8023cd0fb2" name="PHP_Parser.out" role="data" />
<file baseinstalldir="PHP" md5sum="5f21a55b2237783399cdbe72d7bd746d" name="PHP_Parser.php" role="php" />
<file baseinstalldir="PHP" md5sum="4e7cc9333b36a27c53a1cc84ac5dceab" name="PHP_Parser.y" role="data" />
<file baseinstalldir="PHP" md5sum="e2418944d1d5f8d0e2b85ceff96fb2fd" name="raw_php.y" role="data" />
<file baseinstalldir="PHP" md5sum="a5fb44002582c20d62ca28fc8660a429" name="Tokenizer.php" role="php" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.1.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
</dependencies>
<phprelease>
<filelist>
<install as="phplemon" name="phplemon" />
<install as="phplemon.bat" name="phplemon.bat" />
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-06-24</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
initial release
</notes>
</release>
<release>
<version>
<release>0.1.1</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-07-18</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
update to New BSD license (no code changes)
</notes>
</release>
<release>
<version>
<release>0.1.2</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-10-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
fix replacements in phplemon script in unix (Hartmut Holzgraefe) (no code changes)
</notes>
</release>
<release>
<version>
<release>0.1.3</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-10-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
fix Bug #9346: lots of PHP warnings instead of syntax error
fix phplemon.bat replacements
</notes>
</release>
<release>
<version>
<release>0.1.4</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-12-15</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
- fix Bug #9345: help output broken
</notes>
</release>
<release>
<version>
<release>0.1.5</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2007-03-05</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
- fix Bug #10245: if multiple RHS identifiers are the same, no error
- fix Bug #10260: exception instead of helpful error message
</notes>
</release>
<release>
<version>
<release>0.1.6</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2010-03-05</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
- fix Bug #11645: unused rhs labels undetected [r0vert]
- fix Bug #11647: substitution of @X works incorrectly [r0vert]
- Bug #10685 fatal error when calling "phplemon --help"
</notes>
</release>
<release>
<version>
<release>0.1.7</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2010-10-25</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
Automatically built QA release
Req #11361 better help message - cweiske
Bug #12652 Generated ParseryyToken class has broken __toString() - urkle
Bug #12730 Generated Parser destructor *can* loop forever - urkle
Req #13416 Provide an option to choose the parser template file - rix0r
Bug #16703 terminals starting with Z letter cause problems - taras
Bug #17381 infinite loop in __destruct of generated parser - jespino
Bug #17382 Empty action causes undefined function - jespino
</notes>
</release>
</changelog>
</package>