Skip to content

Commit

Permalink
#4417 fix: Update parser.py from Earley to Lalr
Browse files Browse the repository at this point in the history
I simply changed the parser to use the LALR algorithm instead of the slow earley algorithm
  • Loading branch information
Jolliano authored Jan 14, 2025
1 parent db8dcc7 commit 0b213b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/venom/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
%ignore COMMENT
"""

VENOM_PARSER = Lark(VENOM_GRAMMAR)
VENOM_PARSER = Lark(VENOM_GRAMMAR, start = 'start', parser = 'lalr')


def _set_last_var(fn: IRFunction):
Expand Down

0 comments on commit 0b213b5

Please sign in to comment.