srhickma / padd

Fast and Automatic Formatting of Context-Free Languages
Apache License 2.0
2 stars 2 forks source link

Detect loops due to non-consuming transitions #190

Open srhickma opened 5 years ago

srhickma commented 5 years ago

Investigate if we can detect infinite scanning loops due to incorrect use of non-consuming transitions. These can either be detected during specification parsing (static analysis) or while lexing (run-time analysis). If a loop is detected, an error should be emitted.