ANN: Tokens can now be declared as “lazy”
The poster child for this feature would be something like the C-style multiline comment, i.e. /** * comment */ It is actually surprisingly difficult to specify this in legacy JavaCC (or JavaCC21/Congo up until very recently). One way is to break it into multiple regexp patterns using the MORE feature. Or, alternatively, there is actually …






