From 0b213b543555a7eb4b118084423f904861d13065 Mon Sep 17 00:00:00 2001 From: Jolly Chukwuemeka Date: Mon, 13 Jan 2025 23:28:23 -0500 Subject: [PATCH] #4417 fix: Update parser.py from Earley to Lalr I simply changed the parser to use the LALR algorithm instead of the slow earley algorithm --- vyper/venom/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/venom/parser.py b/vyper/venom/parser.py index 5ccc29b7a4..2cd26c3126 100644 --- a/vyper/venom/parser.py +++ b/vyper/venom/parser.py @@ -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):