I'm not if this is possible in moo but let's say I'm interested in lexing the words "eat" and "eats". I'd like them to both map to a token of type VERB with a value of EAT. Is there a way to do this with the convenient array-based syntax for keywords?
I'm not if this is possible in moo but let's say I'm interested in lexing the words "eat" and "eats". I'd like them to both map to a token of type VERB with a value of EAT. Is there a way to do this with the convenient array-based syntax for keywords?