Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Update decorator grammar to match current spec #353

Closed
wants to merge 1 commit into from

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Feb 10, 2017

Q A
Bug fix? yes
Breaking change? yes
New feature? no
Deprecations? no
Spec compliancy? yes
Tests added/pass? yes
Fixed tickets #13, #33, #231, #232
License MIT

The current decorators proposal only allows very specific productions in a decorator, not arbitrary AssignmentExpressions. This updates the grammar to match the spec.

Likely to break some code.

Ping @DrewML re: #236.

@danez
Copy link
Member

danez commented Feb 10, 2017

Thanks, the current implementation of decorators is really old, and we probably do not want to change it anymore, but instead will create a new plugin for the new spec.

So it might take some time, till we know how to continue with all the decorator changes.

@bakkot
Copy link
Contributor Author

bakkot commented Feb 13, 2017

@danez Makes sense. Gonna go ahead and close this, but feel free to take the code and/or tests when that revision happens.

@bakkot bakkot closed this Feb 13, 2017
@bakkot bakkot deleted the simple-decorators branch February 13, 2017 03:50
peey pushed a commit to peey/babylon that referenced this pull request Jun 17, 2017
@peey peey mentioned this pull request Jun 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants