-
Currently, the engine only implements the Earley recognizer algorithm. It *might* be better to implement the full parser.
Pros:
- Directly provide the AST to the user
Cons:
- In most cases the…
-
Tried to install your extension but got the error
```
Traceback (most recent call last):
File "F:\SD\ComfyUI\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_modul…
-
Need to implement the Leo Optimization for the Earley parser to optimize right-recursive rules.
I'm not attaching this one to a milestone. I think we can release 3.1.0 without it, but it would be …
-
Currently we have `builtins.match` for parsing strings using regular expressions. Perhaps it would be appropriate to also have `builtins.earley` function that takes an ABNF (or EBNF) grammar and a str…
-
CUrrently the `earley` parser is used which is very slow (~20min for 1300 instr.). In order to use the significantly faster `lalr` parser the priorities of the terminals must be set correctly.
-
**Suggestion**
Lark currently supports caching to disk for the LALR parser, but it would be great to support it for the Earley parser too. We have a project that has around 3k different grammars usin…
-
Right recursion runs in quadratic time with the Earley parser on grammars that can be parsed in linear time by LR(k) parsers. Ideally we should optimize the parser, but for the time being, grammars sh…
-
### Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a …
-
Looks like this package doesn't accept left-recursive grammar. Is it expected? I was wondering because I heard that Earley parser accepts arbitrary context-free language. It looks it accepts right-rec…
-
I was trying to run some basic grammar that had some left recursion and realized that the parser doesn't seem to support that. Is there a reason for that/would it be possible for the parser to support…