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

@ -6,6 +6,7 @@
using namespace tp;
using namespace obj;
void testParser();
void testCore();
void testPrimitives();
void testInterpreter();
@ -15,6 +16,11 @@ int main() {
tp::ModuleManifest* deps[] = { &gModuleObjects, nullptr };
tp::ModuleManifest module("ObjectsTests", nullptr, nullptr, deps);
if (module.initialize()) {
testParser();
module.deinitialize();
}
if (module.initialize()) {
testCore();
module.deinitialize();