This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
pacciani/main.cpp

24 lines
356 B
C++
Raw Normal View History

#include "Scanner.hpp"
#include "Parser.hpp"
#include <iostream>
2014-11-27 20:42:55 +01:00
#include <fstream>
using namespace monicelli;
2014-11-27 20:42:55 +01:00
int main(int argc, char **argv) {
Program program;
Scanner scanner(std::cin);
Parser parser(scanner, program);
#if YYDEBUG
parser.set_debug_level(1);
#endif
parser.parse();
program.emit(std::cout);
return 0;
}