Annotation #509
Closed
mtoy-googly-moogly
started this conversation in
What's Next: Language Proposals
Annotation
#509
Replies: 1 comment
-
implemented |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just a quick re-cap of things I have said and written elsewhere. I thought it would look something like this ...
Annotation uses the
#
symbol and MIGHT look like a tag cloudWould some sort of tag data to the StructDef, maybe ...
Annotation MIGHT also just be JSON
There is some way to just straight write JSON .. ( or non key quoted json )
Annotation works with refinement
There is some way to control how tags are inherited
Otherwise tags are merged.
Many things can be tagged
Fields and queries can also be tagged.
Questions
Tag AFTER or BEFORE item ...
I like the way this reads better than
Types?
In this world tags are untyped data blobs ... maybe there is typing in annotation somehow?
Dots ...
Maybe it makes sense to allow dotted names, in order to make some namespace managment possible
More things in "simple tags" than strings
# arrayTag=[red,blue,green]
But beyond that maybe then you need to use
#{
Docstrings?
Shouldn't documentation metadata also somehow be in tags? Maybe docstrings come before and tags come after ...
Beta Was this translation helpful? Give feedback.
All reactions