--- a/compiler/PPCLL1Configuration.st Wed May 20 16:47:52 2015 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-"{ Package: 'stx:goodies/petitparser/compiler' }"
-
-"{ NameSpace: Smalltalk }"
-
-PPCConfiguration subclass:#PPCLL1Configuration
- instanceVariableNames:''
- classVariableNames:''
- poolDictionaries:''
- category:'PetitCompiler-Core'
-!
-
-!PPCLL1Configuration methodsFor:'compiling'!
-
-invokePhases
- self toPPCIr.
- self createTokens.
- self cacheFirstFollow.
- self createLL1Choices.
- self tokenize.
-
- "Merge duplicate tokens and recompute first follow"
- self merge.
- self cacheFirstFollow.
-
- self specialize.
- self createRecognizingComponents.
- self specialize.
- self inline.
- self merge.
- self check.
- self generate.
-! !
-
-!PPCLL1Configuration methodsFor:'hooks'!
-
-codeCompilerOn: args
- ^ PPCTokenizingCompiler on: args
-!
-
-codeGeneratorVisitorOn: compiler
- ^ PPCTokenizingCodeGenerator on: compiler
-! !
-
-!PPCLL1Configuration methodsFor:'phases'!
-
-createLL1Choices
- ir := PPCLL1Visitor new
- arguments: arguments;
- visit: ir.
- self remember: #LL1
-!
-
-tokenize
- "
- This will try transform the parser into the tokenizing parser
- "
- arguments tokenize ifFalse: [ ^ self ] .
-
- ir := PPCTokenizingVisitor new
- arguments: arguments;
- visit: ir.
- self remember: #tokenize
-! !
-