Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81013 / go2html / main.cpp
blob: 4a8d65a91fc806d7ffaebea02518e36db6df1664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>

#include "CommonTypes.h"
#include "Lexer.h"
#include "Highlighter.h"

int main(int argc, char **argv)
{
	// todo: WRITE PROPER TESTS
	std::ifstream infile(argv[1]);
	std::ofstream offile(argv[2]);

	Highlight(infile, offile);

    return 0;
}