%semantic token N = /(\d+)/ W = /([a-z]\w*)/ %% s: s N | s W | N | W ; %%