compiler/tests/extras/PPTokenizedLL1ExpressionGrammarResource.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 26 May 2015 07:27:15 +0100
changeset 473 90eb2d1f7bed
parent 464 f6d77fee9811
child 503 ff58cd9f1f3c
permissions -rw-r--r--
Oops, merged code which contained Pharoism's

"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"

"{ NameSpace: Smalltalk }"

TestResource subclass:#PPTokenizedLL1ExpressionGrammarResource
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Extras-Tests-Expressions'
!

!PPTokenizedLL1ExpressionGrammarResource methodsFor:'as yet unclassified'!

setUp
    | time configuration |
    configuration := PPCTokenizingConfiguration new.
    configuration arguments name:#PPTokenizedLL1ExpressionGrammar.
    
    
    time := Time millisecondsToRun: [
        PPLL1ExpressionGrammar new compileWithConfiguration: configuration.
    ].
    Transcript show: 'LL1 Expression grammar tokenized in: '; show: time asString; show: 'ms'; cr.

    "Modified: / 26-05-2015 / 07:24:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !