Choosenim 0.8.0 now available

2021-10-05 Thread ftsf
Getting this behaviour with 0.8.2 on Windows. I've tried clearing out `C:UsersuserAppDataLocalTempchoosenim-extraction` but it gives the same error afterwards. choosenim --version choosenim v0.8.2 (2021-10-05 20:20:47) [windows/amd64] choosenim.exe "#version-1-6" Do

Hacktoberfest 2021 Megathread

2021-10-05 Thread Yardanico
You have to add a `hacktoberfest` tag to your repository so that the PRs count towards Hacktoberfest.

Hacktoberfest 2021 Megathread

2021-10-05 Thread xioren
rn

Choosenim 0.8.0 now available

2021-10-05 Thread dom96
I fixed some of the bugs that have surfaced and release 0.8.2 :)

Macro work strange behavior

2021-10-05 Thread ynfle
https://play.nim-lang.org/#ix=3AWI

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread alexeypetrushin
R probably, as for Julia may not worth it, they don't like C and usually trying to avoid it and use/rewrite it in Julia instead :)

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread Recruit_main707
c# or f# would be nice, awesome job btw

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread pietroppeter
> What languages would you like to see? For scientific computing it could be nice to support R and maybe also Julia.

Macro work strange behavior

2021-10-05 Thread Pixeye
the problem is that I couldn't get static int in case when I call macro from template

Macro work strange behavior

2021-10-05 Thread shirleyquirk
Inside the macro `arg` is a: Conv Sym "int" Conv Sym "ContextId" IntLit 2 Run The working version passes the converters along with it

Macro work strange behavior

2021-10-05 Thread Pixeye
Hi everyone! Macro gurus I need your help :) I have a weird issue with getting an int value in macro called from template. For simplicity I've made a small example in the Nim Playground: If it's not a bug then what is the nature of how it works in the examp

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread ynfle
True. For Python, it's pretty common to use py in the name. I checked, pyxie was taken

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread treeform
We call this nim-c-nim sandwich. How it works is that we compile nim-c and create the DLL with a basic C interface. Then we create another nim file (it kind of looks it was generated by c2nim) that does the export. original nim function: proc simpleCall(a: int): int = ## Ret

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread treeform
Yeah rust could be pretty cool. The pixiepy could have worked. We chose to use pixie-language as pixieru for ruby or pixieru for rust don't make sense.

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread ynfle
Nice idea. Maybe rust as well. We can showcase nim's advantage's with it's competitor Maybe pixiepy. Doesn't seem to be taken

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread ynfle
Nice idea. Maybe rust as well. We can showcase nim's advantage's with it's competitor Maybe pixiepy. Doesn't seem to be taken

nim-1.4.6_x64.zip/bin/nimble.exe reports as Trojan:Win32/Zpevdo.B

2021-10-05 Thread nikola_grujicic
Thank you very much for your advice. Your help is appreciated, but I still did not succeeded and really do not have time for any additional hackings. Thank you for your time.

nim-1.4.6_x64.zip/bin/nimble.exe reports as Trojan:Win32/Zpevdo.B

2021-10-05 Thread nikola_grujicic
I had the same experience with newest nim-1.4.8_x64. Windows Defender reported Trojan attack and deleted nimble.exe. No antivirus software installed. After turning off all Windows protection, it still did not worked.

nim-1.4.6_x64.zip/bin/nimble.exe reports as Trojan:Win32/Zpevdo.B

2021-10-05 Thread pointystick
I was able to get Nimble in Nim 1.4.8 to stay put on my PC with the following: 1. Download the Nim zip file from the website (or just open it if it's still in your downloads folder) 2. Drag/drop nimble.exe from the zip's 'bin' folder to the existing Nim install folder's 'bin' (the file shoul

nim-1.4.6_x64.zip/bin/nimble.exe reports as Trojan:Win32/Zpevdo.B

2021-10-05 Thread nikola_grujicic
I had the same experience with newest nim-1.4.8_x64. Windows Defender reported Trojan attack and deleted nimble.exe. No antivirus software installed. After turning off all Windows protection, it still did not worked.

Show Nim: Use Nim code from other languages (genny + pixie-python)

2021-10-05 Thread PMunch
Great project, really interesting to see how people can use this to integrate Nim into other languages. One thing I'm curious about is how a Genny DLL imported back into Nim works. It's a bit of a strange use-case, but having one export target for something that can be imported across languages

Hacktoberfest 2021 Megathread

2021-10-05 Thread PMunch
I'll accept PRs for all my projects for Hacktoberfest. But to narrow the focus: * [nimlsp](https://github.com/PMunch/nimlsp) * [futhark](https://github.com/PMunch/futhark) * [protobuf](https://github.com/PMunch/protobuf-nim)

More Nim on more Microcontrollers!? (Arm CMSIS / Zephyr RTOS)

2021-10-05 Thread shirleyquirk
Pio is assembly plus some hooks to the main language. If you look [here](https://github.com/raspberrypi/pico-sdk/tree/master/tools/pioasm) in the repo for `pioasm` you can see there is code generation code for c, Ada, and python, so Nim support could be added there, perhaps