alcides / aeon

Aeon programming language
https://alcides.github.io/aeon/
8 stars 3 forks source link

Fix catastrophic backtracking. Fixes #53 #55

Closed GUIpsp closed 5 months ago

GUIpsp commented 5 months ago

Also minor cleanups in grammar.

alcides commented 5 months ago

Can you describe the need for changing import x from Module to `import x from "Module.ae"´?

Is it related to parsing only?

GUIpsp commented 5 months ago

The quotes are essential due to how the grammar is currently structured to prevent catastrophic backtracking. The .ae is a preference, due to the current module system being more like a #include than a proper import (you import a/b, not a.b). I cross checked with Eduardo and he was fine with it.