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

Named and multiple arguments for annotations #190

Merged
merged 3 commits into from Oct 30, 2017

Conversation

dahlia
Copy link
Member

@dahlia dahlia commented Oct 29, 2017

As #178 suggested, I made annotation arguments multiple. To simplify the rule unnamed arguments became unsupported; thus every argument has its parameter name. @docs, an internal annotation that represents docs comments, also have a parameter named docs. Annotations without parentheses are equivalent to zero arguments.

Also wrote some docs about annotations. I believe the docs is enough substitution of explanation for this pull request.

@dahlia dahlia added cat:docs Category: Documentation cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) cmp:frontend Component: Compiler frontend (e.g., CLI, parser, AST) target:python labels Oct 29, 2017
@dahlia dahlia self-assigned this Oct 29, 2017
@dahlia dahlia mentioned this pull request Oct 29, 2017
8 tasks
@dahlia dahlia merged commit e1de9b2 into nirum-lang:master Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:docs Category: Documentation cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) cmp:frontend Component: Compiler frontend (e.g., CLI, parser, AST) target:python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants