Plans for reference manual #124
-
The documentation we currently have is, as its title says, an overview; it does not describe the entire language. For example, I'm looking for an annotation list and cannot find anything in docs. I have to go to
Why do I say more confused? Because as a user, all I see is the following syntax, e.g. A function in C can be of type Does it mean I can't have a function and a variable as of type |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
True, a section for annotations is lacking, this is in my documentation TODO for the future, I am delaying to improve that after I implement the planned feature of custom annotations.
It does not make sense for each annotation to work on all categories, because an annotation always depends on its use context, but you should always get compile errors when using an annotation in the wrong context.
This is more a C problem, because in C
All functions are already made
Just because an annotation is there, it does not mean you should use it or understand it, some annotations are available just to expose some C features, so the language doesn't block or hide some C features, but some are questionable to use, like:
|
Beta Was this translation helpful? Give feedback.
True, a section for annotations is lacking, this is in my documentation TODO for the future, I am delaying to improve that after I implement the planned feature of custom annotations.
It does not make sense for each annotation to work on all categories, because an annotation always depends on its use context, but you should always get compile errors when using an annotati…