Works for me on Win10, 64 bits, msys2 shell. Additionally, I copied some
lua5.2.dll (cannot remember where from, probably the LuaBinaries) into the
project folder.
$ nim -v
Nim Compiler Version 0.14.2 (2016-06-09) [Windows: amd64]
$ lua
Lua 5.3.2 Copyright (C)
It does not even compile for me. Similar to
[https://github.com/nim-lang/lua/issues/2](https://github.com/nim-lang/lua/issues/2)
@leledumbo, thank you, just needed some pointers, makes sense now. @OderWat,
broken at what level (link or details please)? So far I've only tried a
callback and it worked fine.
Besides that lua52 still is broken it seems :(
About nim-chess. In gtk3.nim and gdk3.nim
libgtk-win32-3.0-0.dll
libgdk-win32-3.0-0.dll
to replace
libgtk-3-0.dll
libgdk-3-0.dll
and additionally execute
ln -s ~/ngtk3/nim-cairo/src/cairo_pragma.nim
and then chess works.
+1 for nimsuggest's improvement and actually I puzzled people complain about
lack of IDE support because there are already many editors or IDEs support for
Nim:
[https://github.com/nim-lang/Nim/wiki/editor-support](https://github.com/nim-lang/Nim/wiki/editor-support)
Back to nim survey, I
Just as how it's done from any other languages:
import lua
proc nimluafunc(L: PState): cint {.cdecl.} =
let i = tonumber(L,1)
let j = tonumber(L,2)
let k = i + j
pushnumber(L,k)
result = 1
let l = newstate()
openlibs(L)
I don't know why it keeps coming up, but Aporia doesn't take away development
resources, it does what it does and it does it well. However, I completely
agree with this statement
> But I would not try to sell it as an IDE. I would maybe call it a Sketchbook
> or something that relates to what
For the upcoming 0.15.0 I have generated documentation here (still subject to
change and yes I know the version says 0.14.3):
[http://nim-lang.org/0.15.0/lib.html](http://forum.nim-lang.org///nim-lang.org/0.15.0/lib.html)
To my previous post: that would break visual code alignment if tabs are used
for such alignment inside lines of code, not at beginning; tabs should be
replaced there by variable number of spaces. Yet someone can use literal tabs
inside strings (though mostly escape sequences are used), so the
> Yes, a couple of fixes and it worked. If you want I'll write more detailed.
Yes, would be fine.
Araq just told me that he regards proc names like int32 invalid -- they shadow
type conversions. So I have to filter all the GTK3 related modules for proc
names which may conflict with type names.
First of all thank you for your help. Now to answer your questions.
> I assume that you are using an 32 bit Nim installation?
Yes, but before that I used 64 bit. Differences invisible.
> Is the chess game running for you?
Yes, a couple of fixes and it worked. If you want I'll write more
12 matches
Mail list logo