var RULES =
{
'NUMBER': ['NUMBER','EOL','EOF'],
'BOOLEAN': ['BOOLEAN','EOL','EOF'],
'STRING': ['STRING','EOL','EOF'],
'IDENTIFIER': ['IS','NUMBER','STRING','BOOLEAN','EOL'],
'PROGRAM': ['EOL','EOF'],
'PLUS': ['NUMBER','IDENTIFIER'],
'MINUS': ['NUMBER','IDENTIFIER'],
'MULT': ['NUMBER','IDENTIFIER'],
'DIV': ['NUMBER','IDENTIFIER'],
'POW': ['NUMBER','IDENTIFIER'],
'LT': ['NUMBER','IDENTIFIER'],
'GT': ['NUMBER','IDENTIFIER'],
'IS': ['NUMBER','STRING','BOOLEAN','IDENTIFIER','POW','MULT','DIV','PLUS','MINUS','LT','GT','AND','OR','EQ'],
'EQ': ['NUMBER','STRING','BOOLEAN','IDENTIFIER'],
'AND': ['BOOL','IDENTIFIER'],
'OR': ['BOOL','IDENTIFIER'],
'PRINT': ['STRING','IDENTIFIER','BOOLEAN'],
'EOL': ['ELSEIF','IF','ELSE','FI','IDENTIFIER','PRINT','COMMENT'],
'START': ['PROGRAM'],