Results 228 comments of MegaIng

If I remember correctly, there were some problems with unexpected side effects. > I don't claim to be even remotely be an expert on parsing but not being able to...

Well, I got it to work by using an escaped `$`. It is probably not that much work (only the places where we check with `isupper` have to be changed),...

An extreme implementation of this would allow nim style-insensitive identifiers everywhere. - Only case of first letter is relevant - Underscores are ignored (for lark, the first one wouldn't be...

@erezsh Not a lot, but I am currently working on a few small projects, including porting lark. Why?

It is supposed to work. Can you give a short example script?

@erezsh Shouldn't it be possible to add some early point reject all BNF rules that have a Terminal following an `$` symbol? E.g. if we find a rule of the...

Yes there is. `($|_NEWLINE)*` should be allowed. I think that would break if we don't allow it.

OTOH, maybe it shouldn't be allowed. In effect it is the same as `_NEWLINE* $?`. I am not sure. But we need to make sure that for example the python...

The point is more that there is that it is possible to accept nothing after `$`. Not sure how that can be expressed.