compiler/tests/PPCompiledExpressionGrammarResource.st
changeset 459 4751c407bb40
parent 452 9f4558b3be66
child 460 87a3d30ab570
equal deleted inserted replaced
452:9f4558b3be66 459:4751c407bb40
    11 
    11 
    12 !PPCompiledExpressionGrammarResource methodsFor:'as yet unclassified'!
    12 !PPCompiledExpressionGrammarResource methodsFor:'as yet unclassified'!
    13 
    13 
    14 setUp
    14 setUp
    15     | time configuration |
    15     | time configuration |
    16     configuration := PPCLL1Configuration new.
    16     configuration := PPCConfiguration universal.
    17     configuration arguments name:#PPCompiledExpressionGrammar.
    17     configuration arguments name: #PPCompiledExpressionGrammar.
    18     
    18     
    19     
    19     
    20     time := Time millisecondsToRun: [
    20     time := Time millisecondsToRun: [
    21         PPExpressionGrammar new compileWithConfiguration: configuration.
    21         PPExpressionGrammar new compileWithConfiguration: configuration.
    22     ].
    22     ].
    23     Transcript crShow: 'Expression grammar compiled in: ', time asString, 'ms'.
    23     Transcript show: 'Expression grammar compiled in: ', time asString, 'ms'; cr.
    24     
    24     
    25 ! !
    25 ! !
    26 
    26