equal
deleted
inserted
replaced
1 "{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 TestResource subclass:#PPCompiledSmalltalkParserResource |
|
6 instanceVariableNames:'' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'PetitCompiler-Extras-Tests-Smalltalk' |
|
10 ! |
|
11 |
|
12 !PPCompiledSmalltalkParserResource methodsFor:'as yet unclassified'! |
|
13 |
|
14 setUp |
|
15 | time configuration | |
|
16 configuration := PPCConfiguration universal. |
|
17 configuration arguments parserName:#PPCompiledSmalltalkParser. |
|
18 |
|
19 time := Time millisecondsToRun: [ |
|
20 PPSmalltalkParser new compileWithConfiguration: configuration. |
|
21 ]. |
|
22 Transcript show: 'Smalltalk Parser compiled in: '; show: time asString; show: 'ms'; cr. |
|
23 |
|
24 "Modified: / 10-05-2015 / 07:57:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
25 ! ! |
|
26 |
|