compiler/tests/extras/PPCompiledSmalltalkParserResource.st
changeset 510 869853decf31
parent 509 fd22630c7e62
child 511 527038bc8edf
equal deleted inserted replaced
509:fd22630c7e62 510:869853decf31
     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