void GCodeInterpreter::FillTables()
{
	//Format Function, args; args; ...
	ifstream in("gcode.dat");
	string line;
	while(getline(in, line))
	{
		istringstream i(line);
		GFunction f;
		FunctionArguments args;
		i >> f.first >> f.second;
		while(i.good())
		{
			char c;
			vector<char> temp;
			while(i >> c && c != ';')
				temp.push_back(c);
			if(!temp.empty())
				args.push_back(temp);
		}
		orderTable.push_back(f);
		functionPrototypes[f] = args;
	}
	//Converting functions
	FillGTable();
}