Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Change from traits to decorators #505

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

masak
Copy link
Owner

@masak masak commented May 4, 2019

Do not merge yet. All the tests pass and the syntax works, but I feel I have some ways to go in order to make traits as lexical as they should be. Right now they work by string matching, which is too icky to merge.

Figured I'll put this up as a PR. I've been having it as a local branch for ages. The language documentation already assumed we're on decorators, and so I should really finish this one up and merge it.

Closes #257.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the syntax of traits from 'is foo(val)' to '@Foo(val)', and let them precede the thing they annotate
1 participant