%tree %semantic token 'a' 'b' %% S: %name EMPTY /* empty */ | %name AES S A | %name BES S B ; A: %name A 'a' ; B: %name B 'b' ; %%