runNewParser(definePageContent);
}
private void runNewParser(String input) throws Exception {
long start = System.currentTimeMillis();
WikiPage page = new TestRoot().makePage("NewTest");
//String result = ParserTest.translateTo(new TestRoot().makePage("NewTest"), pageContent);
Symbol list = Parser.make(new ParsingPage(new WikiSourcePage(page), null), input).parse();
System.out.println(System.currentTimeMillis() - start);
start = System.currentTimeMillis();
/*String result =*/ new HtmlTranslator(new WikiSourcePage(page), new ParsingPage(new WikiSourcePage(page), null)).translateTree(list);