What I'm missing in the docs:
* Syntax of pragma content
* allowed locations
Awesome thank you that cleared things up quite a bit.
Pragmas are just a way to attach more info to the functions.
The compiler takes the data in the pragmas and does some thing special with it.
Take the {.inline.} pragma it just marks the functions with inline=true and
then when compiler sees the function it inlines it.
You can also create your
Hey guys! I'm really trying to understand Nim and make this language my main.
I'm having problems understanding pragmas. I've bought Nim in action, I've read
tutorials and documentation on it but everything I've read is very generic and
"thin" in explanation.
Can someone he