Portability: fixes for Smalltalk/X
* Do not use #crShow: - not present in Smalltalk/X
* Do not use Array class>>with:withAll:
* do not use detect:ifFound:ifAbsent:
"{ Package: 'stx:goodies/petitparser/compiler/tests' }"
"{ NameSpace: Smalltalk }"
TestResource subclass:#PPTokenizedExpressionGrammarResource
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Tests-ExpressionGrammar'
!
!PPTokenizedExpressionGrammarResource methodsFor:'as yet unclassified'!
setUp
| time configuration |
configuration := PPCLL1Configuration new.
configuration arguments name:#PPTokenizedExpressionGrammar.
time := Time millisecondsToRun: [
PPExpressionGrammar new compileWithConfiguration: configuration.
].
Transcript show: 'Expression grammar tokenized in: ';show: time asString; show: 'ms'; cr.
"Modified: / 12-05-2015 / 01:38:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !