Finished parser translation to use the integer token values instead of the strings (cleaner implementation)