Re: Understanding Pragmas

2020-07-10 Thread michy
What I'm missing in the docs: * Syntax of pragma content * allowed locations

Re: Understanding Pragmas

2020-07-09 Thread Salient
Awesome thank you that cleared things up quite a bit.

Re: Understanding Pragmas

2020-07-09 Thread treeform
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

Understanding Pragmas

2020-07-09 Thread Salient
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