equal
deleted
inserted
replaced
35 ! |
35 ! |
36 |
36 |
37 setUp |
37 setUp |
38 options := PPCCompilationOptions default |
38 options := PPCCompilationOptions default |
39 profile: true; |
39 profile: true; |
|
40 tokenize: true; |
40 yourself. |
41 yourself. |
41 |
42 |
42 self cleanClass. |
43 self cleanClass. |
43 |
44 |
44 configuration := PPCPluggableConfiguration on: [ :_self | |
45 configuration := PPCConfiguration new. |
45 _self runPass: PPCCacheFirstFollowPass. |
46 configuration passes: { |
46 _self runPass: PPCTokenizingCodeGenerator. |
47 PPCCacheFirstFollowPass. |
47 _self runPass: PPCFSAVisitor. |
48 PPCTokenizingCodeGenerator. |
48 _self runPass: PPCTokenCodeGenerator. |
49 PPCFSAVisitor. |
49 _self runPass: PPCScannerCodeGenerator. |
50 PPCTokenCodeGenerator. |
50 _self generateScanner. |
51 PPCScannerCodeGenerator. |
51 _self generateParser. |
52 }. |
52 ] base: PPCConfiguration tokenizing. |
|
53 |
53 |
54 configuration options: options. |
54 configuration options: options. |
55 |
55 |
56 "Modified: / 03-09-2015 / 22:34:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
56 "Modified: / 04-09-2015 / 16:21:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
57 ! |
57 ! |
58 |
58 |
59 tearDown |
59 tearDown |
60 "nothing to do now" |
60 "nothing to do now" |
61 ! ! |
61 ! ! |