-
Not likely to happen naturally, but possible.
For example:
parser = lark.Lark("start: a\na: b\n b:c\n c:a\n | /a/")
parser.parse('a')
Throws all parsers into an infinite loop (the cy…
-
**Suggestion**
I would be like to be able to use Lark to search for all substrings of a string matching some Lark grammar. e.g. something along the lines of the following method on the Lark class:
…
-
below, `edit` has nullable rules, and `insertion` has a wildcard. the parse results are all present, but some alternatives that appear before other alternatives ("lexically" in the grammar), appear la…
-
Can you implement an error handling?
In case of error, we can be insert correct token and using synchronizing token method.
[7-parsing-error.pdf](https://github.com/digitalheir/java-probabilistic-…
ghost updated
7 years ago
-
I have been trying to spin up some packaging of Patoline via Arch Linux and/or Nix (with the ultimate goal of playing around with it in comparison with other typesetters *vis-à-vis* https://polytype.d…
-
```python
>>> from symyp.parsing.latex import parse_latex
>>> srepr(parse_latex('1 - 2*(x + 1))'))
"Add(Integer(1), Mul(Integer(-1), Integer(2), Add(Symbol('x'), Integer(1))))"
>>> srepr(parse_lat…
-
**Suggestion**
Lark really makes creating parsers easy, but unfortunately generated parser is very slow. I recently had to debug why things are so slow and found that most of the time is spent on par…
sirex updated
2 years ago
-
is there is a way to tokenize a sentence taking into consideration phrasal-verbs.
example:
"The flight take off at three o'clock"
output should be:
[the, flight, take off, at, three, o'clock]…
-
**Describe the bug**
In a contextual lexing setup, where numerous BasicLexer instances get spawned for the various contexts, many of these instances are being created with toxic "spam" terminals. I…
-
Possibly related to #167, the following grammar brings nearley to an infinite loop with any input. This code is very simplified, but in larger grammars this can go unnoticed and cause a lot of headach…