Added main loop of parser.

This commit is contained in:
Nathan Braswell
2013-05-23 01:35:54 -04:00
parent 14fc410e00
commit e4f83cbb67
9 changed files with 142 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ Symbol::~Symbol() {
}
const bool Symbol::operator==(const Symbol &other) {
return( name == other.name && isTerminal == other.isTerminal);
}
std::string Symbol::toString() {
return(name);
}