equal
deleted
inserted
replaced
12 !PPCompiledJavaResource methodsFor:'as yet unclassified'! |
12 !PPCompiledJavaResource methodsFor:'as yet unclassified'! |
13 |
13 |
14 setUp |
14 setUp |
15 | time compiler | |
15 | time compiler | |
16 |
16 |
17 compiler := PPCCompiler universal. |
17 compiler := PPCCompiler newWithOptions: #( #tokenize: false ). |
18 compiler options parserName:#PPCompiledJavaSyntax. |
18 compiler options parserName:#PPCompiledJavaSyntax. |
19 time := Time |
19 time := Time |
20 millisecondsToRun:[ PPJavaSyntax new compileUsingCompiler:compiler. ]. |
20 millisecondsToRun:[ compiler compile: PPJavaSyntax new ]. |
21 Transcript |
21 Transcript |
22 show:'Java Syntax compiled in: '; |
22 show:'Java Syntax compiled in: '; |
23 show:time asString; |
23 show:time asString; |
24 show:'ms'; |
24 show:'ms'; |
25 cr. |
25 cr. |
26 |
26 |
27 "Modified: / 10-05-2015 / 07:45:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
27 "Modified: / 07-09-2015 / 12:37:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
28 ! ! |
28 ! ! |
29 |
29 |