Skip to content
Snippets Groups Projects
Commit b1ccef14 authored by Franck Dary's avatar Franck Dary
Browse files

Added support for a GOV tagger

parent a44dc9a8
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,10 @@ void Oracle::createDatabase()
}
else if (parts[0] == "WRITE" && parts.size() == 4)
{
if (parts[2] == "LABEL")
return action == "WRITE 0 LABEL " + c.getTape("LABEL").ref[c.head] || c.head >= (int)c.tapes[0].ref.size()-1;
else if (parts[2] == "GOV")
return action == "WRITE 0 GOV " + c.getTape("GOV").ref[c.head] || c.head >= (int)c.tapes[0].ref.size()-1;
}
else if (parts[0] == "REDUCE")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment