3 ms·
Don't forget that Nim also supports multiple backend languages, so I don't think `nim cr` works since `nim jsr` just gets confusing. The `nim c` part isn't shor
by elcritch 4y ago
Don't forget that Nim also supports multiple backend languages, so I don't think `nim cr` works since `nim jsr` just gets confusing. The `nim c` part isn't shorthand for `nim compile` so the syntax seems logical to me with `-r` being a flag after the target language.
There's also:
nim cpp helloworld.nim
nim cpp -r helloworld.nim
nim js helloworld.nim
nim js -r helloworld.nim