Closed paulstansifer closed 5 years ago
For the sake of complete flexibility, we want a way to say "Apply this SynEnv-to-SynEnv function to the current language", not just an "Extend the grammar like this" form.
SynEnv
I would up making extend_syntax fully general, and adding bnf[ ]bnf to handle the normal case.
extend_syntax
bnf[ ]bnf
For the sake of complete flexibility, we want a way to say "Apply this
SynEnv
-to-SynEnv
function to the current language", not just an "Extend the grammar like this" form.