ceylon / ceylon.ast

Apache License 2.0
18 stars 3 forks source link

Update expression type hierarchy? #74

Closed lucaswerkmeister closed 8 years ago

lucaswerkmeister commented 9 years ago

In ceylon/ceylon-spec@9cd833c589d868315d8c53f1df43cfcabe971360 (and previously ceylon/ceylon-spec@74dbfa1e6ae26e4eb922564e35465fcf0b296b4c), @gavinking shuffled some BNF rules around. In ceylon.ast terms, that means:

I like these changes, but they’re nevertheless potentially quite breaking. Should we do them in ceylon.ast? Gavin WDYT?

gavinking commented 9 years ago

The only reason I added DelimitedExpression, LiteralExpression and MetaExpression was because I otherwise couldn't fit the Atom rule on one line. I don't see how they're useful. Same goes for Enumeration, probably. But yes, the refactoring between Atom and Primary is necessary to be correct, I think.

lucaswerkmeister commented 8 years ago

Closing, won’t do this.