Nim v2: what would you change?

2022-06-09 Thread Pyautogui
Ooh, clever idea! I'd like that immensely. Of course, there is probably some implementation difficulty there.

Nim v2: what would you change?

2022-06-09 Thread Zectbumo
re: Originally posted by @RSDuck in I would like to see in nim2 (if nim2 is not case sensitive or a pragma/hybrid) that back ticks force case sensitivity so that these identifiers can be distinguished: `NvColo

Cursed: Working braces in Nim

2022-06-09 Thread dom96

Win nim included dlls fail to load

2022-06-09 Thread ggibson
But, after more reflection, I was able to use the string `uncompress` proc on single file raw data to unzip gz files. Yay! Thanks for the dialog.

Win nim included dlls fail to load

2022-06-09 Thread guzba
If you have a .gz file: `uncompress(readFile(path))` will detect gzip and work (see ). If you have a tar.gz, you can use `extractAll` from zippy/tarballs. Currently this just tarball extractAll writes to disk though, if you just want

Win nim included dlls fail to load

2022-06-09 Thread ggibson
I would love to only use zippy -- it's fantastic! -- but I need to be unzipping `.gz` files, too, and I didn't see that zippy could support gzip that was not in a tar ball. I'm sure there's just some weird Visual Studio compiler thing I'm missing.

'import os' not used. Wrong Error Message

2022-06-09 Thread PMunch
By the way, `commandLineParams` is defined for both Windows and Posix-esque targets. So checking if it is declared wouldn't really check if you're on a Posix-compatible machine or not. I think you might be looking for `when defined(posix)`.

Cursed: Working braces in Nim

2022-06-09 Thread exelotl
Thanks, I hate it!

Cursed: Working braces in Nim

2022-06-09 Thread jasonfi
Hopefully only to prove that it can be done.

Cursed: Working braces in Nim

2022-06-09 Thread Clonk
But why ?