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
2014-11-28 19:01:34 +01:00

24 lines
356 B
C++

#include "Scanner.hpp"
#include "Parser.hpp"
#include <iostream>
#include <fstream>
using namespace monicelli;
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;
}