Erez Shinan
Erez Shinan
I ran pip install better-exceptions-hook For both Python2 and Python3, and then ran the following file (bla.py): a = "hello" b = "world" assert a == b Here's the output:...
- Removed unnecessary string processing - Turned returned strings to be more smali-compliant - Added several utility methods
The existing cheatsheet is here: https://github.com/lark-parser/lark/blob/master/docs/lark_cheatsheet.pdf The design and format are somewhat lacking.
SlottedTree could be a slot-only class, thereby removing any need for an attribute dictionary, which takes up memory. However, by inheriting from Tree, it inherits the attribute dictionary, even if...
When using the InteractiveParser for things like backtracking, or checkpoint-parsing, it is necessary to make a copy of it. To do so, it makes a copy of `ParserState`, which in...
**Suggestion** Right now inlined rules (`_rule`) are inlined after parsing. It is sometimes desirable to have them inlined during grammar preprocessing, to reduce that amount of `REDUCE` actions (which are...
For example, this page: https://lark-parser.readthedocs.io/en/latest/search.html?q=maybe_placeholders Doesn't find this mention: https://lark-parser.readthedocs.io/en/latest/classes.html (search for maybe_placeholders) --------------------- Also, partial search doesn't work. Searching for `maybe_` gives no results. @chsasank
`%ignore` is the last domino before grammar composition is fully supported in Lark. We should be able to support it in both LALR and Earley. Robust grammar composition would be...
Can be signified with `$` Must be optional (grammars don't have to contain it to be correct) Need to make sure it works for both LALR and Earley, and with...