osa1 / parsegen

An LR parser generator, implemented as a proc macro
MIT License
15 stars 0 forks source link

Remove (or make optional) semicolons after non-terminals #5

Open osa1 opened 2 years ago

osa1 commented 2 years ago

I don't remember why I required a semicolon after a non-terminal (maybe I just wanted the syntax to be compatible with LALRPOP?), but I think it shouldn't be necessary.

We currently have two syntax for non-terminals:

The semicolon in second syntax can be removed.