#include "mainwindow.h" #include #include #include #include #include int main(int argc, char *argv[]) { /* QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); */ ParseContext parseContext; auto schema = loadSchemaFromFile(&parseContext, "/home/bbr/Documents/personal/projects/modeler/schema.csl", std::cout); if(schema) { std::vector signatures; domain::ComdelGenerator generator(signatures); generator.loadLibrary(*schema->library, &parseContext, std::cout); for (auto& error : generator.getErrors()) { parseContext.formatError(error, std::cout, "ERROR: "); } } }