Open Mirinth opened 3 years ago
Actually, unused expressions don't even appear in the generated lexer, so this optimization wouldn't even do anything.
Once #131 comes in, the unused expressions will actually appear, but an optimizing compiler will just discard them, so this still won't even do anything.
Maybe it can do a semantic check for unused expressions later.
This might make things more efficient, but it's an optimization, and Plexi 1.0 won't be very efficient anyway. I'm putting it off until a later release.