parsing loop closed
This commit is contained in:
parent
63b0560375
commit
3bed74df87
8 changed files with 92 additions and 45 deletions
|
|
@ -19,10 +19,9 @@ void testAutomation() {
|
|||
|
||||
void test() {
|
||||
auto parser = SimpleParser<int1>();
|
||||
auto ast = AST();
|
||||
|
||||
parser.compileTables(gGrammar, String::Logic::calcLength(gGrammar));
|
||||
parser.parse(gSentence, String::Logic::calcLength(gSentence), ast);
|
||||
auto result = parser.parse(gSentence, String::Logic::calcLength(gSentence));
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue