Erez Shinan

Results 495 comments of Erez Shinan

Well, I'm not sure why the 3 matters here.. Just parse everything and verify the count after it's done. But if you really need this much control, look into the...

@chanicpanic The saga continues!

@mbhall88 I created a test PR that implements this functionality. You're welcome to give it a try and tell me if it works! https://github.com/lark-parser/lark/pull/1446 Here's an example of using it:...

@mbhall88 Feel free to open a new discussion/issue. Anyway, when importing grammars, you still have call all the relevant `%ignore` statements from the root grammar. (in this case, all the...

@MegaIng Yeah, makes sense. The tokens of the parsed grammar aren't relevant to the output tree.

@munching You might find this useful: https://lark-parser.readthedocs.io/en/latest/recipes.html#collect-all-comments-with-lexer-callbacks

There is some code that I wrote once that did something like it. Maybe I should clean it up and add it to Lark, as a utility function. I don't...

The bird on its own could make a nice icon. What dimensions are we talking?

Yes, that's probably because it's a relatively new syntax. If anyone decides to add it, I suggest to support the extended syntax: ```ruby %import common (a -> b, C ->...

@MegaIng Sure, I can do that. Maybe I can just notify everyone in the highlighters group whenever there's a syntax change. I'll get to the icon at some point.