pro/cons in using nimpy

2020-09-26 Thread elcritch
Nimqml seems pretty solid, but qml seems to require more work than normal qt widgets. It’s also not as consistent on cross platform L&F. Still nimql or Wxwidgets library would likely be my choice. Though you could try react native via Nim. I’d be curious on that one.

get raw command line

2020-09-26 Thread sflennik
Thanks for pointing out that the shell is responsible for quote handling. I was thinking there was of some general function like the windows GetCommandLine. I want to log the original string so I know what the user entered. I've decided that "echo $commandLineParams()" works for me. I need to s

VS Code Nim Extension in Nim

2020-09-26 Thread doofenstein
as someone who contributed a little bit to the Nim vscode extension in the past I'm glad someone's bringing a fresh breeze into this area, thank you for that! Something I want to mention is that the original vscode extension (and by extent also your translation) have a lot a lot of half function

`let` binding a value whose computation may throw an exception

2020-09-26 Thread Hlaaftana
If something like a `quit`/`die` procedure is called inside an expression, then that expression is still considered an expression. Nim's `quit` proc has the property of the pragma `noreturn`, which implies that a proc never , which allows for this behavior. So this compiles: let a

`let` binding a value whose computation may throw an exception

2020-09-26 Thread rrt
I'm new to Nim, so sorry if I re-ask any common questions; I have already searched quite a bit while translating a familiar short program into Nim to try to find out what is idiomatic. I have written a short command line program using argparse (which is pretty nice!). To start with, I just wro

VS Code Nim Extension in Nim

2020-09-26 Thread saem
I'll pre-apologize, but I went for more of a mechanical transform at first, still much of that lying around. Also, I'm learning Nim along the way so you'll likely be asking yourself, "why didn't they do X?" The answer is I don't know better/didn't discover it yet/learned it really late. For exa

using db_odbc with ms sql server on windows 10

2020-09-26 Thread zulu
Do you have the odbc driver installed?

VS Code Nim Extension in Nim

2020-09-26 Thread Araq
Oh this is so awesome! Finally we can contribute without having to program in a different language. :-)

pro/cons in using nimpy

2020-09-26 Thread gemath
> [*] I still have to explore nimqml... That would be my favorite when it comes to multi-platform and ease-of-use. But still depends on DOtherSide v0.6, when the current version is 0.7, so I'm having trouble setting things up.

VS Code Nim Extension in Nim

2020-09-26 Thread saem
It's not at all pretty (read: I've done regrettable things), but I've ported the [VS Code extension from TypeScript to Nim](https://marketplace.visualstudio.com/items?itemName=nimsaem.nimvscode). Noteable changes: * It's written in Nim, maybe that's a cool thing * It's probably slower/more