public class ParserImpl extends AbstractParser implements Parser
{
public static void main( String[] args ) throws IOException
{
Parser parser = new ParserImpl();
parser.setLexer( new LexerImpl() );
ASTNode rootNode;
try
{
rootNode = parser.parse( new File( "input.txt" ) );
}
catch ( SyntaxError e )
{
e.printStackTrace();
return;