author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sat, 04 Oct 2014 23:34:14 +0100 | |
changeset 383 | e9919f8e47de |
parent 382 | 1825151d6455 |
child 385 | 44a36ed4e484 |
permissions | -rw-r--r-- |
5 | 1 |
"{ Package: 'stx:goodies/petitparser' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_goodies_petitparser |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
382
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
10 |
!stx_goodies_petitparser class methodsFor:'documentation'! |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
11 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
12 |
extensionsVersion_HG |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
13 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
14 |
^ '$Changeset: <not expanded> $' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
15 |
! ! |
5 | 16 |
|
17 |
!stx_goodies_petitparser class methodsFor:'accessing'! |
|
18 |
||
19 |
monticelloPackageName |
|
20 |
"hook for packages which have been loaded from monticello" |
|
21 |
||
22 |
^ 'PetitParser' |
|
23 |
||
24 |
"Created: / 17-12-2010 / 19:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
25 |
! ! |
|
26 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
27 |
!stx_goodies_petitparser class methodsFor:'accessing - monticello'! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
28 |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
29 |
monticelloLastMergedVersionInfo |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
30 |
"The last merged version is: " |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
31 |
|
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
32 |
^ ' |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
33 |
Name: PetitParser-JanKurs.250 |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
34 |
Author: JanKurs |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
35 |
Time: 01-10-2014, 04:44:04 AM |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
36 |
UUID: c46eea20-51a0-4deb-8fd5-8cb99810a8b4 |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
37 |
Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
38 |
' |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
39 |
|
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
40 |
"Created: / 03-10-2014 / 02:27:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
41 |
! |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
42 |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
43 |
monticelloName |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
44 |
"Return name of the package for Monticello. This is used when package is exported" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
45 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
46 |
^ 'PetitParser' |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
47 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
48 |
"Created: / 03-10-2014 / 01:47:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
49 |
! ! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
50 |
|
375
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
51 |
!stx_goodies_petitparser class methodsFor:'accessing - tests'! |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
52 |
|
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
53 |
testSuite |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
54 |
"generate and return a testSuite containing all of my test-classes" |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
55 |
|
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
56 |
Smalltalk loadPackage: 'stx:goodies/petitparser/tests'. |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
57 |
^ 'stx:goodies/petitparser/tests' asPackageId projectDefinitionClass testSuite |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
58 |
|
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
59 |
! ! |
e2b2f08d054e
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
315
diff
changeset
|
60 |
|
5 | 61 |
!stx_goodies_petitparser class methodsFor:'description'! |
62 |
||
63 |
excludedFromPreRequisites |
|
64 |
"list all packages which should be ignored in the automatic |
|
65 |
preRequisites scan. See #preRequisites for more." |
|
66 |
||
67 |
^ #( |
|
68 |
) |
|
69 |
! |
|
70 |
||
134
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
71 |
mandatoryPreRequisites |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
72 |
"list packages which are mandatory as a prerequisite. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
73 |
This are packages containing superclasses of my classes and classes which |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
74 |
are extended by myself. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
75 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
76 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
77 |
by searching along the inheritance chain of all of my classes." |
5 | 78 |
|
79 |
^ #( |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
80 |
#'stx:libbasic' "ArrayedCollection - extended" |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
81 |
#'stx:libbasic2' "Text - extended" |
134
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
82 |
) |
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
83 |
! |
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
84 |
|
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
85 |
referencedPreRequisites |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
86 |
"list packages which are a prerequisite, because they contain |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
87 |
classes which are referenced by my classes. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
88 |
We do not need these packages as a prerequisite for loading or compiling. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
89 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
90 |
by searching all classes (and their packages) which are referenced by my classes." |
134
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
91 |
|
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
92 |
^ #( |
382
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
93 |
#'stx:goodies/monticello' "MCDirectoryRepository - referenced by stx_goodies_petitparser class>>exportAsMczTo:" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
94 |
#'stx:libscm/mercurial/monticello' "HGMCVersionInfo - referenced by stx_goodies_petitparser class>>exportAsMczTo:" |
5 | 95 |
) |
90 | 96 |
! |
97 |
||
98 |
stcOptimizationOptions |
|
99 |
"do not inline the not operation here - it is overwritten" |
|
100 |
||
101 |
^ '+optspace3 -inlinenot' |
|
102 |
||
103 |
"Created: / 23-08-2006 / 01:27:22 / cg" |
|
244 | 104 |
! |
105 |
||
106 |
subProjects |
|
107 |
"list packages which are known as subprojects. |
|
108 |
The generated makefile will enter those and make there as well. |
|
109 |
However: they are not forced to be loaded when a package is loaded; |
|
110 |
for those, redefine requiredPrerequisites" |
|
111 |
||
112 |
^ #( |
|
113 |
#'stx:goodies/petitparser/analyzer' |
|
114 |
#'stx:goodies/petitparser/tests' |
|
115 |
) |
|
5 | 116 |
! ! |
117 |
||
382
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
118 |
!stx_goodies_petitparser class methodsFor:'description - compilation'! |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
119 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
120 |
additionalRules_make_dot_proto |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
121 |
"allows for additional rules to be added to the make.proto file." |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
122 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
123 |
^ ' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
124 |
mc: |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
125 |
mkdir mc |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
126 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
127 |
mcz: mc |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
128 |
$(TOP)/projects/smalltalk/smalltalk --eval " \ |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
129 |
Smalltalk packagePath add:''$(TOP)'' . \ |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
130 |
Smalltalk loadPackage:''stx:goodies/petitparser''. \ |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
131 |
(Smalltalk at: #''stx_goodies_petitparser'') exportAsMczTo: ''mc''." |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
132 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
133 |
' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
134 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
135 |
"Created: / 04-10-2014 / 21:45:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
136 |
! ! |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
137 |
|
5 | 138 |
!stx_goodies_petitparser class methodsFor:'description - contents'! |
139 |
||
140 |
classNamesAndAttributes |
|
141 |
"lists the classes which are to be included in the project. |
|
142 |
Each entry in the list may be: a single class-name (symbol), |
|
143 |
or an array-literal consisting of class name and attributes. |
|
144 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
145 |
||
146 |
^ #( |
|
244 | 147 |
"<className> or (<className> attributes...) in load order" |
148 |
PPCharSetPredicate |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
149 |
PPContext |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
150 |
PPContextMemento |
244 | 151 |
PPFailure |
152 |
PPMemento |
|
153 |
PPParser |
|
154 |
PPStream |
|
155 |
PPToken |
|
156 |
#'stx_goodies_petitparser' |
|
157 |
PPDelegateParser |
|
158 |
PPEpsilonParser |
|
159 |
PPFailingParser |
|
160 |
PPListParser |
|
161 |
PPLiteralParser |
|
162 |
PPPluggableParser |
|
163 |
PPPredicateParser |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
164 |
PPStartOfLine |
244 | 165 |
PPUnresolvedParser |
166 |
PPActionParser |
|
167 |
PPAndParser |
|
168 |
PPChoiceParser |
|
169 |
PPCompositeParser |
|
170 |
PPEndOfInputParser |
|
171 |
PPExpressionParser |
|
172 |
PPFlattenParser |
|
173 |
PPLiteralObjectParser |
|
174 |
PPLiteralSequenceParser |
|
175 |
PPMemoizedParser |
|
176 |
PPNotParser |
|
177 |
PPOptionalParser |
|
178 |
PPPredicateObjectParser |
|
179 |
PPPredicateSequenceParser |
|
180 |
PPRepeatingParser |
|
181 |
PPSequenceParser |
|
182 |
PPTrimmingParser |
|
183 |
PPLimitedRepeatingParser |
|
184 |
PPPossessiveRepeatingParser |
|
185 |
PPTokenParser |
|
186 |
PPWrappingParser |
|
187 |
PPGreedyRepeatingParser |
|
188 |
PPLazyRepeatingParser |
|
5 | 189 |
) |
190 |
! |
|
191 |
||
192 |
extensionMethodNames |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
193 |
"list class/selector pairs of extensions. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
194 |
A correponding method with real names must be present in my concrete subclasses" |
5 | 195 |
|
196 |
^ #( |
|
233 | 197 |
Block asParser |
198 |
BlockContext asParser |
|
199 |
Character asParser |
|
200 |
Character ppMinus: |
|
315 | 201 |
Collection asChoiceParser |
202 |
Collection asSequenceParser |
|
203 |
Interval asParser |
|
233 | 204 |
Object asParser |
205 |
Object isPetitFailure |
|
206 |
Object isPetitParser |
|
207 |
PositionableStream asPetitStream |
|
208 |
SequenceableCollection asParser |
|
209 |
SequenceableCollection asPetitStream |
|
210 |
Set asParser |
|
211 |
Stream asPetitStream |
|
212 |
String asParser |
|
213 |
Symbol asParser |
|
214 |
Symbol value: |
|
215 |
Text asPetitStream |
|
216 |
UndefinedObject asParser |
|
379 | 217 |
PositionableStream peekTwice |
5 | 218 |
) |
219 |
! ! |
|
220 |
||
244 | 221 |
!stx_goodies_petitparser class methodsFor:'description - monticello'! |
222 |
||
223 |
monticelloTimestamps |
|
224 |
||
225 |
^#( |
|
226 |
) |
|
227 |
! ! |
|
228 |
||
5 | 229 |
!stx_goodies_petitparser class methodsFor:'description - project information'! |
230 |
||
231 |
companyName |
|
232 |
"Return a companyname which will appear in <lib>.rc" |
|
233 |
||
234 |
^ 'Lukas Renggli & SWING Research Group' |
|
235 |
||
236 |
"Modified: / 17-12-2010 / 19:43:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
237 |
! |
|
238 |
||
239 |
description |
|
240 |
"Return a description string which will appear in vc.def / bc.def" |
|
241 |
||
148
b44426fa6b0f
class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents:
147
diff
changeset
|
242 |
^ 'Smalltalk/X Scannerless Parser & Parser Combinator Library' |
5 | 243 |
|
244 |
"Modified: / 17-12-2010 / 19:43:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
245 |
! |
|
246 |
||
247 |
legalCopyright |
|
248 |
"Return a copyright string which will appear in <lib>.rc" |
|
249 |
||
250 |
^ '(C) Lukas Renggli' |
|
251 |
||
252 |
"Modified: / 17-12-2010 / 19:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
253 |
! |
|
254 |
||
255 |
productName |
|
256 |
"Return a product name which will appear in <lib>.rc" |
|
257 |
||
258 |
^ 'Petit Parser' |
|
259 |
||
260 |
"Modified: / 17-12-2010 / 19:43:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
261 |
! ! |
|
262 |
||
263 |
!stx_goodies_petitparser class methodsFor:'description - svn'! |
|
264 |
||
8 | 265 |
svnRepositoryUrlString |
266 |
"Return a SVN repository URL of myself. |
|
267 |
(Generated since 2011-04-08) |
|
90 | 268 |
" |
8 | 269 |
|
270 |
^ '$URL: https://vranyj1@swing.fit.cvut.cz/svn/squeak/petitparser/trunk/squeak_petitparser.st $' |
|
271 |
! |
|
272 |
||
5 | 273 |
svnRevisionNr |
274 |
"Return a SVN revision number of myself. |
|
275 |
This number is updated after a commit" |
|
276 |
||
8 | 277 |
^ "$SVN-Revision:"'11 '"$" |
5 | 278 |
! ! |
279 |
||
382
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
280 |
!stx_goodies_petitparser class methodsFor:'utilities - monticello'! |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
281 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
282 |
exportAsMczTo: directory |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
283 |
"Export .mcz packages to given directory" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
284 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
285 |
| packages exporter mcrepo | |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
286 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
287 |
Smalltalk loadPackage: 'stx:goodies/monticello'. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
288 |
Smalltalk loadPackage: 'stx:libscm/mercurial/monticello'. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
289 |
Class tryLocalSourceFirst: true. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
290 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
291 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
292 |
packages := #( |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
293 |
'stx:goodies/petitparser' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
294 |
'stx:goodies/petitparser/tests' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
295 |
'stx:goodies/petitparser/analyzer' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
296 |
'stx:goodies/petitparser/analyzer/tests' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
297 |
). |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
298 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
299 |
exporter := [:pkgnm| |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
300 |
| mcpkg mcwc mcvi mcversion | |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
301 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
302 |
Smalltalk loadPackage: pkgnm. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
303 |
mcpkg := MCPackage named: pkgnm. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
304 |
mcwc := mcpkg workingCopy. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
305 |
mcvi := HGMCVersionInfo forPackage: pkgnm. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
306 |
[ |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
307 |
mcversion := mcwc newVersion |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
308 |
] on: MCVersionNameAndMessageRequest do:[:ex | |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
309 |
ex resume: (Array with: mcvi name with: mcvi message) |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
310 |
]. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
311 |
mcversion info: mcvi. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
312 |
mcrepo storeVersion: mcversion. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
313 |
]. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
314 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
315 |
mcrepo := MCDirectoryRepository new directory: directory. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
316 |
packages do: exporter. |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
317 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
318 |
" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
319 |
stx_goodies_petitparser exportAsMczTo: '/tmp' |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
320 |
" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
321 |
|
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
322 |
"Created: / 04-10-2014 / 21:30:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
323 |
! ! |
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
379
diff
changeset
|
324 |
|
5 | 325 |
!stx_goodies_petitparser class methodsFor:'documentation'! |
326 |
||
327 |
version |
|
315 | 328 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $' |
5 | 329 |
! |
330 |
||
331 |
version_CVS |
|
315 | 332 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $' |
211
c156f64d8eb9
class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents:
151
diff
changeset
|
333 |
! |
c156f64d8eb9
class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents:
151
diff
changeset
|
334 |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
335 |
version_HG |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
336 |
^ '$Changeset: <not expanded> $' |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
337 |
! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
338 |
|
211
c156f64d8eb9
class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents:
151
diff
changeset
|
339 |
version_MC |
212
4717e419eabc
class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents:
211
diff
changeset
|
340 |
^ '$PetitParser-lr.231 a18ceb3c-e6d2-4b74-91c9-33f05d2e0514 2013-03-16T21:51:30 lr$' |
5 | 341 |
! |
342 |
||
343 |
version_SVN |
|
315 | 344 |
^ '$Id: stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $' |
5 | 345 |
! ! |
134
03907685ddff
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
90
diff
changeset
|
346 |