BWindey
BWindey
I agree that complex logic should be made into a macro.
> @require arg1 = 0 > : "This function requires arg1 to be negative, and arg2 to be positive" > : "Blah blah" > *> This syntax is fine. Putting...
How do you mean?
That's good for me as well. I'll leave that up to you, as you know your language better then I do.
Update from the poll on Discord: the people have decided that the syntax with just 1 `:` is preferable.
Yes, that works now: ```cpp
Would these anonymous macros also be assignable to a compile time variable? A use-case being that you have quite a long function and you need to do the same action...
I just bumped into a usecase for this as well. Has anyone found a workaround yet? I tried by putting the bat syntax-file for plaintext (https://github.com/sublimehq/Packages/blob/759d6eed9b4beed87e602a23303a121c3a6c2fb3/Text/Plain%20text.tmLanguage) inside `~/.config/silicon/syntaxes` and ran...
What do you mean with "bad function" and "don't see people copying it"?
Seems like I'll be writing my own kind of `sscanf` purpose-built for my own good. The problems with the C implementation could be resolved in a C3-native implementation though. It's...