We should check that an ASR grammar is valid (at least syntactically, but also for left recursion, see #199 ) once the user finishes editing it, rather than only when we use the grammar at runtime. This would make for a much smoother development. Note that the existing checks in ASRNode need to remain because grammars can also be created on the fly from script expressions.
We should check that an ASR grammar is valid (at least syntactically, but also for left recursion, see #199 ) once the user finishes editing it, rather than only when we use the grammar at runtime. This would make for a much smoother development. Note that the existing checks in ASRNode need to remain because grammars can also be created on the fly from script expressions.