Re: Any chance there will be a wasm backend?

2016-10-31 Thread runvnc
In case anyone thinks web assembly is interesting as a Nim backend or for playing around generally, they came out with a browser preview milestone today. [http://v8project.blogspot.com/2016/10/webassembly-browser-preview.html?m=1](http://forum.nim-lang.org///v8project.blogspot.com/2016/10/webasse

Re: Nim and Qt

2016-10-31 Thread filcuc
Given that i'm the author of both nimqml and DOtherSide...mind to share the differences in your project in respect to nimqml?

typed values from c pointer

2016-10-31 Thread bitstorm
Hi, I am writing a nim wrapper for a c library and would like to construct a sequence of nim items from a generic proc. I can construct std library types with a call to a constructor like construct but this does not work for tuples or objects if i got this right proc get_item_from

Compilation breaks without showing an error

2016-10-31 Thread gneu
Just today I started writing my first lines of nim code (great language, I'm really excited so far). Of course I've made some mistakes in my first code parts, but one of these mistakes lead to the compiler terminating compilation without giving an error or any hint at all of what is going wrong

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread Stefan_Salewski
No not as a library. But I have not investigated the remaining crashes. I worked on it two months ago for the last time and used the editor then while working on the chess game. For me some crashes are no problem, I saved every ten minutes. And I think there are no other users beside me. One re

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread Araq
Do you use nimsuggest as a library? Because otherwise a crashing process should not break your editor process.

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
Not nice solution, but better than having crashes when you work on code =)

How to use attatchment effectively in jester?

2016-10-31 Thread shawnye
I write this code: get "/attachment": attachment "public/root/test.rar " resp readFile "public/root/test.rar " build on nim 0.15.2 , windows 7 run started : memeory used: 744KiB test.rar is about 5.158MiB, after download :memeory used: 46.855MiB It's totally

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread Stefan_Salewski
Yes indeed, the test files needs some links before they work. For example in ~/ngtk3/nim-gtk3/test there is a file called "mach" (make in german language), I execute bash make followed by nim c test.nim and ./test. But these tests are nearly obsolete now, as long as chess works. It may be possib

Import from parent directory

2016-10-31 Thread vlad1777d
Hello dear friends. I can import from subdirectories so: import subdir/some_module , or so: import subdir.some_module I can import from parent directory so: import ../some_module I can import from parent directory and it's subdirectory so: import ../subdir_of_parent/some_module But I can't us

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
I took information from here: [http://nim-lang.org/docs/nimc.html](http://forum.nim-lang.org///nim-lang.org/docs/nimc.html) about path option and .cfg files, here: [http://nim-lang.org/docs/manual.html#modules-import-statement](http://forum.nim-lang.org///nim-lang.org/docs/manual.html#modules-im

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
I added gdk3.nim to the folder, where gtk3.nim was, it imported, now same error is while importing glib: """/home/vlad/Programs/programming/libraries/Nim/ngtk3/nim-gtk3/src/gdk3.nim(14, 6) Error: cannot open 'glib' """ Do I need to place them in one directory, or I can make some configure for t

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
Thank you, I understood my error. I need links to all those libraries (i placed test file with gtk3.nim in one folder). But I have now such issue: """home/vlad/Programs/programming/libraries/Nim/ngtk3/nim-gtk3/src/gtk3.nim(14, 6) Error: cannot open 'gdk3'""" with your test file from one of thos