dialogos-project / dialogos

The DialogOS dialog system.
https://www.dialogos.app
GNU General Public License v3.0
21 stars 8 forks source link

ASR grammars should be checked after editing, not only at runtime #200

Closed timobaumann closed 4 years ago

timobaumann commented 5 years ago

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.