{
SyntaxSeparation separation = new SyntaxSeparation(new Syntax(syntax)); // separate lexer and parser syntax
LexerBuilder builder = new LexerBuilder(separation.getLexerSyntax(), separation.getIgnoredSymbols()); // build a Lexer
Lexer lexer = builder.getLexer();
lexer.setInput("\tHello \r\n\tWorld\n"); // give the lexer some very complex input :-)
ParserTables parserTables = new SLRParserTables(separation.getParserSyntax());
Parser parser = new Parser(parserTables);
parser.parse(lexer, new PrintSemantic()); // start parsing with a print-semantic
}