Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New lexer / parser based on Lark #29

Closed
derula opened this issue Oct 30, 2020 · 0 comments
Closed

New lexer / parser based on Lark #29

derula opened this issue Oct 30, 2020 · 0 comments

Comments

@derula
Copy link
Owner

derula commented Oct 30, 2020

A new lexer and parser are in development, They are currently much slower than the sievelib parser, but should also be more accurate / resistant to errors. Plus, since they are based on a grammar, they are more easily extendable / bugs should be easier to fix.

To do:

  • Rewrite Scintilla lexer to use new lexer
  • Run new parser to find errors
    • Make sure Parser only runs some time after typing stopped, because it is so slow
    • Consider finding all parse errors at once and adding a panel to show all of them => Add list of all parse errors #31
  • Consider adding more features to the grammar, e.g. Sieve extensions => Add more grammar features #32

See also #16.

@derula derula closed this as completed in e9bcce9 Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant