compiler/tests/PPCompiledExpressionGrammarResource.st
changeset 438 20598d7ce9fa
child 443 2c87ed364404
child 452 9f4558b3be66
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/PPCompiledExpressionGrammarResource.st	Thu Apr 30 23:43:14 2015 +0200
@@ -0,0 +1,22 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests' }"
+
+"{ NameSpace: Smalltalk }"
+
+TestResource subclass:#PPCompiledExpressionGrammarResource
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Tests-ExpressionGrammar'
+!
+
+!PPCompiledExpressionGrammarResource methodsFor:'as yet unclassified'!
+
+setUp
+	| time |
+	time := Time millisecondsToRun: [
+		PPExpressionGrammar new compileAs: #PPCompiledExpressionGrammar
+	].
+	Transcript crShow: 'Exprssion grammar compiled in: ', time asString, 'ms'.
+	
+! !
+