Terence Parr

Results 554 comments of Terence Parr

oh man...i don't have to really think about this one. and as you say "big" change.

Hi. so do you propose that with the "less", it would merge lexer rules XMLDeclOpen and SPECIAL_OPEN, making it less complex? Can you think of another use case this? I...

why don't modes alone solve this? can't see it right away.

Why doesn't the first char, '{' or not, tell you what to do? First mode is default (horiz) but you flip to vert if you see '{'.

These syntactic predicates are occasionally useful, yep!

Instead of `less` command, I think I'd prefer a syntactic predicate, in particular, a "not predicate" that says "match this token but only if the left or right context is...

I actually started working on a way to do that or you could even share with others but I just don't have time to work on this anymore.