Seeing how our lemon parser was creating a TOKEN_MOD already anyway I implemented the % operator