diprism / perpl

The PERPL Compiler
MIT License
10 stars 5 forks source link

External nonterminal #125

Closed davidweichiang closed 1 year ago

davidweichiang commented 1 year ago

I don't remember why we changed externs to be factors in #35, but this changes it back to be a nonterminal, but now the nonterminal is not the lhs of any rule. Overall this simplifies the code, and fixes #122.

davidweichiang commented 1 year ago

The corresponding PR https://github.com/diprism/fggs/pull/160 is not passing yet, so making this a draft for now.