compiler/tests/PPCompiledSmalltalkGrammarResource.st
changeset 452 9f4558b3be66
parent 438 20598d7ce9fa
child 453 bd5107faf4d6
child 459 4751c407bb40
equal deleted inserted replaced
438:20598d7ce9fa 452:9f4558b3be66
     1 "{ Package: 'stx:goodies/petitparser/compiler/tests' }"
       
     2 
       
     3 "{ NameSpace: Smalltalk }"
       
     4 
       
     5 TestResource subclass:#PPCompiledSmalltalkGrammarResource
       
     6 	instanceVariableNames:''
       
     7 	classVariableNames:''
       
     8 	poolDictionaries:''
       
     9 	category:'PetitCompiler-Tests-Smalltalk'
       
    10 !
       
    11 
       
    12 !PPCompiledSmalltalkGrammarResource methodsFor:'as yet unclassified'!
       
    13 
       
    14 setUp
       
    15 	| time |
       
    16 	time := Time millisecondsToRun: [
       
    17 		PPSmalltalkGrammar new compileAs: #PPCompiledSmalltalkGrammar
       
    18 	].
       
    19 	Transcript crShow: 'Smalltalk Grammar compiled in: ', time asString, 'ms'.
       
    20 	
       
    21 ! !
       
    22