py/compile: Use calculation instead of switch to convert token to op.
py/compile: Use calculation instead of switch to convert token to op.

pramasoul/micropython,adafruit/circuitpython,tobbad/micropython,tobbad/micropython,tobbad/micropython,kerneltask/micropython,trezor/micropython,adafruit/circuitpython,MrSurly/micropython,pramasoul/micropython,MrSurly/micropython,bvernoux/micropython,bvernoux/micropython,pramasoul/micropython,trezor/micropython,bvernoux/micropython,pozetroninc/micropython,MrSurly/micropython,kerneltask/micropython,adafruit/circuitpython,selste/micropython,pozetroninc/micropython,adafruit/circuitpython,henriknelson/micropython,MrSurly/micropython,pramasoul/micropython,henriknelson/micropython,trezor/micropython,henriknelson/micropython,adafruit/circuitpython,kerneltask/micropython,pozetroninc/micropython,pozetroninc/micropython,tobbad/micropython,selste/micropython,pramasoul/micropython,trezor/micropython,MrSurly/micropython,henriknelson/micropython,kerneltask/micropython,bvernoux/micropython,pozetroninc/micropython,selste/micropython,tobbad/micropython,kerneltask/micropython,adafruit/circuitpython,selste/micropython,selste/micropython,bvernoux/micropython,henriknelson/micropython,trezor/micropython