equal
deleted
inserted
replaced
1 "{ Package: 'stx:goodies/petitparser/compiler/tests' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 TestResource subclass:#PPTokenizedExpressionGrammarResource |
|
6 instanceVariableNames:'' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'PetitCompiler-Tests-ExpressionGrammar' |
|
10 ! |
|
11 |
|
12 !PPTokenizedExpressionGrammarResource methodsFor:'as yet unclassified'! |
|
13 |
|
14 setUp |
|
15 | time configuration | |
|
16 configuration := PPCLL1Configuration new. |
|
17 configuration arguments name:#PPTokenizedExpressionGrammar. |
|
18 |
|
19 |
|
20 time := Time millisecondsToRun: [ |
|
21 PPExpressionGrammar new compileWithConfiguration: configuration. |
|
22 ]. |
|
23 Transcript show: 'Expression grammar tokenized in: ';show: time asString; show: 'ms'; cr. |
|
24 |
|
25 "Modified: / 12-05-2015 / 01:38:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
26 ! ! |
|
27 |
|