1 2 3 4 5 6 7 8 9 10 11 12 13
<?php //include ("common.inc"); include ("htmlgrammarparser.inc"); $p = new HtmlGrammarParser("htmlgrammar.dat"); $p->Parse(); $p->PrintErrors(); $p->SaveGrammar("htmlgrammar.cmp"); print "Done."; //PrintArray($p->pg); ?>