return buildParser(new ANTLRStringStream(text), languageLevel);
}
public static DRLParser buildParser( Reader reader, LanguageLevelOption languageLevel ) {
try {
return buildParser(new ANTLRReaderStream(reader), languageLevel);
} catch ( final Exception e ) {
throw new RuntimeException( "Unable to parser Reader", e );
}
}