Replace object parser with lalr library

This commit is contained in:
Ilusha 2024-03-07 12:33:46 +03:00
parent 3ba4bef93b
commit f666416696
13 changed files with 499 additions and 995 deletions

View file

@ -0,0 +1,16 @@
#include "Testing.hpp"
#include "parser/parser.h"
using namespace tp;
using namespace obj;
TEST_DEF_STATIC(Basic) {
Parser parser;
String stream = "{ var i; print false; }";
auto res = parser.parse(stream);
}
TEST_DEF(Parser) { testBasic(); }