<< 31-01-2016 >>

00:18:48*gokr joined #nim
00:39:58*Matthias247 quit (Read error: Connection reset by peer)
00:53:06*gokr quit (Ping timeout: 256 seconds)
00:57:04*ephja quit (Ping timeout: 250 seconds)
01:04:27*arnetheduck joined #nim
01:05:35*derka quit (Quit: derka)
01:09:16*Jesin joined #nim
01:16:38*jaco60 quit (Ping timeout: 250 seconds)
01:21:27*wireddude joined #nim
01:30:04*wireddude quit (Ping timeout: 250 seconds)
01:31:53*wireddude joined #nim
01:40:50*derka joined #nim
01:42:47*wireddude quit (Ping timeout: 264 seconds)
01:43:48*derka quit (Client Quit)
01:53:31*brson quit (Quit: leaving)
02:31:44*wireddude joined #nim
02:35:12*wireddude quit (Read error: Connection reset by peer)
02:35:23*Sornaensis quit (Excess Flood)
02:35:38*wireddude joined #nim
02:35:46*Sornaensis joined #nim
02:42:15*dashed joined #nim
02:49:31*Dildosan joined #nim
02:49:50*wireddude quit (Ping timeout: 256 seconds)
03:02:20*Dildosan quit (Quit: Leaving)
03:31:32*arnetheduck quit (Ping timeout: 265 seconds)
03:43:07*arnetheduck joined #nim
05:57:51*pregressive quit (Remote host closed the connection)
05:58:24*pregressive joined #nim
06:02:40*pregress_ joined #nim
06:02:46*pregressive quit (Ping timeout: 240 seconds)
06:13:53*wireddude joined #nim
06:20:26*lompik quit (Ping timeout: 240 seconds)
06:22:29*gokr joined #nim
06:30:22*wireddude quit (Ping timeout: 265 seconds)
06:40:59*wireddude joined #nim
06:44:30*endragor joined #nim
06:47:58*darkf joined #nim
06:48:40*wireddude quit (Ping timeout: 260 seconds)
06:51:02*pregress_ quit ()
06:55:20*endragor quit (Remote host closed the connection)
06:57:57*endragor joined #nim
07:13:14*gour joined #nim
07:19:26*gokr quit (Ping timeout: 240 seconds)
07:30:21*dashed quit (Quit: Connection closed for inactivity)
07:51:17*Senketsu quit (Quit: Leaving)
08:04:39*yglukhov joined #nim
08:08:50*yglukhov quit (Ping timeout: 245 seconds)
08:09:56*desophos quit (Read error: Connection reset by peer)
08:27:36*Demon_Fox quit (Quit: Leaving)
08:37:29*yglukhov joined #nim
09:07:19*yglukhov quit (Remote host closed the connection)
09:08:12*yglukhov joined #nim
09:08:25*cyraxjoe quit (Ping timeout: 265 seconds)
09:10:44*cyraxjoe joined #nim
09:12:35*yglukhov quit (Ping timeout: 245 seconds)
09:15:22*cyraxjoe quit (Client Quit)
09:19:37*Salewski joined #nim
09:21:48SalewskiAraq: For open arrays as proc parameters we have: proc testOpenArray(x: openArray[int]) = echo repr(x) # do we really need the open prefix, why not just proc testOpenArray(x: Array[int]) = echo repr(x)
09:22:44SalewskiShould be clear for the compiler when there is only a type but no range given for that array, that it is a open one?
09:46:10*gokr joined #nim
09:52:06SalewskiCurrently forum reply/edit does not work: "An error has occured in one of your routes." :-)
09:52:26SalewskiBye.
09:52:29*Salewski quit ()
09:57:49*yglukhov joined #nim
10:02:10*yglukhov quit (Ping timeout: 245 seconds)
10:24:11*Matthias247 joined #nim
10:27:52*yglukhov joined #nim
10:28:48*darkf_ joined #nim
10:29:15*yglukhov quit (Remote host closed the connection)
10:32:06*darkf quit (Ping timeout: 240 seconds)
10:36:11*endragor quit (Remote host closed the connection)
10:36:45*theduke quit (Ping timeout: 245 seconds)
10:41:55*Dildosan joined #nim
10:47:02*theduke joined #nim
10:51:52*endragor joined #nim
11:00:12*derka joined #nim
11:04:26*derka quit (Ping timeout: 240 seconds)
11:11:08*gokr quit (Quit: Leaving.)
11:12:05*derka joined #nim
11:17:36*jaco60 joined #nim
11:22:33*ephja joined #nim
11:29:43*yglukhov joined #nim
11:31:07wuehlmausi try to use the os module and walkDirRec with getFileSize but i Error: unhandled exception: No such device or address [OSError]
11:31:12wuehlmausi got
11:31:43*yglukhov quit (Read error: Connection reset by peer)
11:31:51wuehlmauswhere can i put that ignorePermissionError = true stuff?
11:34:27wuehlmaussorry, ignorePermissionErrors
11:48:46*darkf_ is now known as darkf
11:51:30*yglukhov joined #nim
11:53:40endragorwuehlmaus: what are you trying to ignore? you can catch and ignore the exception if you want to. ignorePermissionError flag is only valid for methods that try to copy file attributes
12:04:55*yglukhov quit (Remote host closed the connection)
12:06:27endragorhow can I output the code that a statement macro has generated? it seems `getAst` only works with expression macros
12:07:48wuehlmausthat was my misconception. i thought that i could getFileSize to just ignore the error cause. keep in mind, i am a rather stupid programmer, i am just playing around ;)
12:17:24*darkf_ joined #nim
12:19:10*darkf_ quit (Client Quit)
12:25:00*Sornaensis quit (*.net *.split)
12:25:00*Jesin quit (*.net *.split)
12:25:00*silven_ quit (*.net *.split)
12:25:00*RGeisel_4 quit (*.net *.split)
12:25:01*dv-_ quit (*.net *.split)
12:25:01*vendethiel quit (*.net *.split)
12:25:02*RGeisel_3 quit (*.net *.split)
12:25:02*RGeisel_ quit (*.net *.split)
12:25:02*RGeisel__ quit (*.net *.split)
12:25:02*dyce quit (*.net *.split)
12:25:02*rinukkusu_ quit (*.net *.split)
12:25:02*biscarch quit (*.net *.split)
12:25:02*Guest78691 quit (*.net *.split)
12:25:03*apotheon quit (*.net *.split)
12:25:03*def- quit (*.net *.split)
12:25:03*jsudlow quit (*.net *.split)
12:25:03*ludocode_ quit (*.net *.split)
12:25:03*dthrvr quit (*.net *.split)
12:25:04*r-ku quit (*.net *.split)
12:25:04*M-max quit (*.net *.split)
12:25:04*so quit (*.net *.split)
12:25:04*liori quit (*.net *.split)
12:25:05*devn_ quit (*.net *.split)
12:25:06*gsingh93 quit (*.net *.split)
12:25:06*federico3 quit (*.net *.split)
12:25:06*Amrykid quit (*.net *.split)
12:25:06*jck quit (*.net *.split)
12:25:06*clone1018 quit (*.net *.split)
12:25:06*DecoPerson quit (*.net *.split)
12:25:06*zxtx quit (*.net *.split)
12:25:06*flyx quit (*.net *.split)
12:25:07*\u quit (*.net *.split)
12:25:07*mlitwiniuk quit (*.net *.split)
12:25:07*JStoker quit (*.net *.split)
12:25:08*theduke quit (*.net *.split)
12:25:08*mikolalysenko quit (*.net *.split)
12:25:08*Varriount_ quit (*.net *.split)
12:25:08*mountaingoat quit (*.net *.split)
12:25:08*delian66_ quit (*.net *.split)
12:25:08*lg_` quit (*.net *.split)
12:25:08*MyMind quit (*.net *.split)
12:25:09*huonw quit (*.net *.split)
12:25:09*zama quit (*.net *.split)
12:25:09*cncl quit (*.net *.split)
12:25:10*CARAM__ quit (*.net *.split)
12:25:10*Learath2 quit (*.net *.split)
12:25:11*Araq_ quit (*.net *.split)
12:25:11*Dildosan quit (*.net *.split)
12:25:11*gour quit (*.net *.split)
12:25:11*vegansk quit (*.net *.split)
12:25:12*RGeisel_2 quit (*.net *.split)
12:25:12*ldlework quit (*.net *.split)
12:25:12*thotypous quit (*.net *.split)
12:25:12*Roin quit (*.net *.split)
12:25:12*sarlalian quit (*.net *.split)
12:25:12*dom96 quit (*.net *.split)
12:25:13*rektide quit (*.net *.split)
12:25:13*Xe quit (*.net *.split)
12:25:13*OmIkRoNiXz quit (*.net *.split)
12:25:14*tstm quit (*.net *.split)
12:25:14*cratuki quit (*.net *.split)
12:25:14*mrkishi quit (*.net *.split)
12:25:14*nsf quit (*.net *.split)
12:25:14*RGeisel_1 quit (*.net *.split)
12:25:15*RGeisel quit (*.net *.split)
12:25:15*Wildefyr quit (*.net *.split)
12:25:15*RushPL quit (*.net *.split)
12:25:15*_stowa quit (*.net *.split)
12:25:15*SianaGearz quit (*.net *.split)
12:25:16*Matthias247 quit (*.net *.split)
12:25:17*BlaXpirit quit (*.net *.split)
12:25:17*lankanmon_ quit (*.net *.split)
12:25:18*fold3 quit (*.net *.split)
12:25:18*wh1t3r0s3 quit (*.net *.split)
12:25:18*regtools quit (*.net *.split)
12:25:18*OnO quit (*.net *.split)
12:25:19*derka quit (*.net *.split)
12:25:19*bozaloshtsh quit (*.net *.split)
12:25:19*nchambers quit (*.net *.split)
12:25:19*gmpreussner quit (*.net *.split)
12:25:19*vqrs quit (*.net *.split)
12:25:20*EastByte quit (*.net *.split)
12:25:20*lyro quit (*.net *.split)
12:25:20*mal``` quit (*.net *.split)
12:25:20*Amun_Ra quit (*.net *.split)
12:25:21*lenstr quit (*.net *.split)
12:25:21*avsej quit (*.net *.split)
12:25:21*themagician quit (*.net *.split)
12:25:21*SirCmpwn quit (*.net *.split)
12:25:22*sjums quit (*.net *.split)
12:25:22*reactormonk quit (*.net *.split)
12:25:22*niv quit (*.net *.split)
12:25:22*jaco60 quit (*.net *.split)
12:25:22*darkf quit (*.net *.split)
12:25:22*arnetheduck quit (*.net *.split)
12:25:23*k1io quit (*.net *.split)
12:25:23*NhanH quit (*.net *.split)
12:25:23*AckZ quit (*.net *.split)
12:25:23*zaquest quit (*.net *.split)
12:25:23*onionhammer quit (*.net *.split)
12:25:24*mtj_ quit (*.net *.split)
12:25:24*pleiosau1 quit (*.net *.split)
12:25:25*nim-buildbot quit (*.net *.split)
12:25:25*Guest4360 quit (*.net *.split)
12:25:25*Gonzih quit (*.net *.split)
12:25:25*jackv quit (*.net *.split)
12:25:26*someplace quit (*.net *.split)
12:25:26*cnu- quit (*.net *.split)
12:25:26*heinrich5991 quit (*.net *.split)
12:25:26*pigmej quit (*.net *.split)
12:28:22*mrkishi joined #nim
12:28:22*tstm joined #nim
12:28:22*cratuki joined #nim
12:28:22*SirCmpwn joined #nim
12:28:22*darkf_ joined #nim
12:28:22*theduke joined #nim
12:28:22*Sornaensis joined #nim
12:28:22*Jesin joined #nim
12:28:22*silven_ joined #nim
12:28:22*mikolalysenko joined #nim
12:28:22*apotheon joined #nim
12:28:22*def- joined #nim
12:28:22*Varriount_ joined #nim
12:28:22*vendethiel joined #nim
12:28:22*jsudlow joined #nim
12:28:22*RGeisel_4 joined #nim
12:28:22*mountaingoat joined #nim
12:28:22*dv-_ joined #nim
12:28:22*delian66_ joined #nim
12:28:22*liori joined #nim
12:28:22*ludocode_ joined #nim
12:28:22*devn_ joined #nim
12:28:22*lg_` joined #nim
12:28:22*MyMind joined #nim
12:28:22*huonw joined #nim
12:28:22*RGeisel_3 joined #nim
12:28:22*RGeisel_ joined #nim
12:28:22*RGeisel__ joined #nim
12:28:22*dyce joined #nim
12:28:22*rinukkusu_ joined #nim
12:28:22*dthrvr joined #nim
12:28:22*r-ku joined #nim
12:28:22*zama joined #nim
12:28:22*biscarch joined #nim
12:28:22*Guest78691 joined #nim
12:28:22*M-max joined #nim
12:28:22*gsingh93 joined #nim
12:28:22*so joined #nim
12:28:22*federico3 joined #nim
12:28:22*cncl joined #nim
12:28:22*Amrykid joined #nim
12:28:22*\u joined #nim
12:28:22*flyx joined #nim
12:28:22*zxtx joined #nim
12:28:22*DecoPerson joined #nim
12:28:22*clone1018 joined #nim
12:28:22*jck joined #nim
12:28:22*CARAM__ joined #nim
12:28:22*mlitwiniuk joined #nim
12:28:22*Learath2 joined #nim
12:28:22*JStoker joined #nim
12:28:22*Araq_ joined #nim
12:29:46*jaco60 joined #nim
12:29:46*arnetheduck joined #nim
12:29:46*k1io joined #nim
12:29:46*NhanH joined #nim
12:29:46*AckZ joined #nim
12:29:46*zaquest joined #nim
12:29:46*onionhammer joined #nim
12:29:46*mtj_ joined #nim
12:29:46*pleiosau1 joined #nim
12:29:46*cnu- joined #nim
12:29:46*Guest4360 joined #nim
12:29:46*Gonzih joined #nim
12:29:46*jackv joined #nim
12:29:46*someplace joined #nim
12:29:46*heinrich5991 joined #nim
12:29:46*pigmej joined #nim
12:29:58*Matthias247 joined #nim
12:29:58*BlaXpirit joined #nim
12:29:58*lankanmon_ joined #nim
12:29:58*fold3 joined #nim
12:29:58*regtools joined #nim
12:29:58*wh1t3r0s3 joined #nim
12:29:58*OnO joined #nim
12:29:59*aziz joined #nim
12:30:13*_stowa joined #nim
12:30:15*derka joined #nim
12:30:15*bozaloshtsh joined #nim
12:30:15*gmpreussner joined #nim
12:30:15*vqrs joined #nim
12:30:15*EastByte joined #nim
12:30:15*sjums joined #nim
12:30:15*lyro joined #nim
12:30:15*mal``` joined #nim
12:30:15*Amun_Ra joined #nim
12:30:15*lenstr joined #nim
12:30:15*avsej joined #nim
12:30:15*themagician joined #nim
12:30:15*reactormonk joined #nim
12:30:15*niv joined #nim
12:30:20*Xe joined #nim
12:30:23*Dildosan joined #nim
12:30:23*gour joined #nim
12:30:23*vegansk joined #nim
12:30:23*RGeisel_2 joined #nim
12:30:23*ldlework joined #nim
12:30:23*thotypous joined #nim
12:30:23*Roin joined #nim
12:30:23*sarlalian joined #nim
12:30:23*dom96 joined #nim
12:30:23*rektide joined #nim
12:30:23*OmIkRoNiXz joined #nim
12:30:37*Amun_Ra quit (Max SendQ exceeded)
12:30:44*nchambers joined #nim
12:30:52*Amun_Ra joined #nim
12:31:13*nsf joined #nim
12:31:13*RGeisel_1 joined #nim
12:31:13*RGeisel joined #nim
12:31:13*Wildefyr joined #nim
12:31:13*RushPL joined #nim
12:31:13*SianaGearz joined #nim
12:31:40*tstm quit (*.net *.split)
12:31:40*cratuki quit (*.net *.split)
12:31:40*mrkishi quit (*.net *.split)
12:31:42*M-max quit (Ping timeout: 250 seconds)
12:32:07*cratuki joined #nim
12:32:07*tstm joined #nim
12:32:07*mrkishi joined #nim
12:33:07*Rush_ joined #nim
12:33:46*M-max joined #nim
12:35:48*RushPL quit (Quit: No Ping reply in 180 seconds.)
12:35:49*Wildefyr quit (Ping timeout: 272 seconds)
12:35:50*RGeisel quit (Ping timeout: 272 seconds)
12:35:50*RGeisel joined #nim
12:37:17*Wildefyr joined #nim
12:38:05*M-max quit (Ping timeout: 260 seconds)
12:38:28*allan0 quit (Quit: no)
12:41:15*allan0 joined #nim
12:42:49Araq_endragor: echo repr result as the last macro statement
12:44:00*darkf_ is now known as darkf
12:46:50endragorAraq_: thank you!
12:55:22*M-max joined #nim
13:04:27endragorcan I somehow make Nim know about inheritance relationship between C++ classes I'm interfacing with? So that the pointer to child class instance can be passed where the pointer to base class instance is expected.
13:05:24*yglukhov joined #nim
13:06:05Araq_object of Foo works for .importcpp
13:06:46endragoroh, nice!
13:10:55*yglukhov quit (Ping timeout: 245 seconds)
13:12:14*M-max quit (Ping timeout: 272 seconds)
13:16:33*M-max joined #nim
13:28:33*yglukhov joined #nim
13:34:49*yglukhov quit (Remote host closed the connection)
13:37:43*yglukhov joined #nim
13:49:23*yglukhov quit (Remote host closed the connection)
13:56:50*M-max quit (Ping timeout: 260 seconds)
14:07:59*gokr joined #nim
14:14:52Wildefyrhey looking at the loops section and alittle bit confused to why when echoing a statement we need to use $ infront of the variable name but then with inc() we do not
14:15:03Wildefyrseems inconsistent
14:15:30*yglukhov joined #nim
14:18:06*kungtotte joined #nim
14:19:40*arnetheduck quit (Ping timeout: 250 seconds)
14:19:40*yglukhov quit (Ping timeout: 245 seconds)
14:28:26*kungtotte quit (Quit: Page closed)
14:28:35*M-max joined #nim
14:29:08flyxWildefyr: $ is actually not needed.
14:29:27Wildefyrdoes it do anything at all?
14:29:44flyxbut if you think about it, it's not inconsistent: inc() takes a numeric parameter. echo outputs a string
14:29:45Wildefyrtutorial probably needs some clarification
14:30:00flyxif you give echo something else than a string, it will use $ implicitly
14:30:13Wildefyrright
14:30:18flyxso the tutorial just shows how to do it explicitly
14:30:37Wildefyryeah that was the detail i was looking for
14:30:39Wildefyrthanks
14:32:14*lompik joined #nim
14:58:06*mal``` quit (K-Lined)
15:03:51*mal`` joined #nim
15:37:16*Trustable joined #nim
15:37:17gourdo you find that nimscript is good-enough for most use-cases as build system, iow. no need for cmake/scons/waf/etc. ?
15:40:08*Dildosan quit (Remote host closed the connection)
15:42:44flyxgour: I use cmake excessively in a C++ project. it's mainly useful for code and documentation generation, as well as configuring dependencies. I think that nim doesn't really need much code generation as you can do most of it with metaprogramming. for dependencies, we have nimble. documentation generation can be done with nim for dev doc, and even if the software is complex enough to require a manual, that wouldn't be too hard to generate with nimscript, I guess
15:43:07*derka_ joined #nim
15:44:06gourflyx: i'm asking in order not to have learning cmake or something else...and no need for C(++) in my projects, except nim bindings for some C lib
15:44:26*derka quit (Ping timeout: 240 seconds)
15:44:26*derka_ is now known as derka
15:46:23flyxgour: well, linking to C libs is always a pain if you want a platform-independent build configuration. you probably want to call pkg-config for that - that might be a good add-on to nimscript
15:47:13flyx(or do whatever you do on Windows to link to C libs, I don't know)
15:49:00flyxI wouldn't suggest cmake for a non-C(++) project.
15:51:07gourthanks ;)
15:56:00*derka_ joined #nim
15:57:35*derka quit (Ping timeout: 240 seconds)
15:57:35*derka_ is now known as derka
16:03:03*derka quit (Quit: derka)
16:17:42gokrAraq_: Odd question, is there somewhere a parseString() proc similar to parseFloat() that handles the Nim literal string syntax (escapes etc)?
16:18:15gokrNi currently uses parseInt and parseFloat from Nim for ints and floats, and I would like to copy Nim for strings too - but IIRC I didn't find a proper proc last time I looked.
16:19:33*gokr running off, cya later
16:38:19*wireddude joined #nim
16:41:53*wireddude_ joined #nim
16:41:58*gokr1 joined #nim
16:43:01*gokr quit (Read error: Connection reset by peer)
16:45:56*wireddude quit (Ping timeout: 240 seconds)
16:58:54def-gokr1: strutils.unescape?
16:58:58*wireddude_ quit (Ping timeout: 272 seconds)
17:27:33*Trustable quit (Remote host closed the connection)
18:14:47*johnsoft joined #nim
18:25:04*cfrantz joined #nim
18:31:12*Jesin quit (Quit: Leaving)
18:50:48Araq_hmmm --gc:v2 now just works (tm)
19:06:22*Jesin joined #nim
19:07:09Varriount_Araq_: What's the difference between the default GC?
19:08:01Araq_it's faster, fixes the known leaks and the cycle collector adheres to the given deadlines (incremental)
19:08:41reactormonkAraq_, how come it's not the default?
19:09:44Araq_it's in development
19:12:59Varriount_Araq_: Any major algorithm/backend changes, or is it general improvement upon the default GC?
19:13:15Varriount_(Garbage collectors are interesting)
19:13:42Araq_I threw away the broken-beyond-repair trial deletion algorithm
19:14:05Araq_and wrote an incremental mark&sweep Gc to collect cycles
19:17:27Araq_it used to crash when I stress test it
19:17:54Araq_but now I cannot reproduce it and everything I throw at it works
19:18:01Araq_which is not good.
19:19:52Varriount_Araq_: Wait, the broken-beyond-repair algorithm works, or the new one works?
19:20:08Araq_the new one
19:20:51wuehlmaushmm, could it be that getFileInfo in the os module has a bug? it stops when it encounters a socket file
19:23:24Varriount_Araq_: Isn't that a good thing?
19:23:39Varriount_wuehlmaus: What OS are you using? Windows or Linux
19:23:43Araq_getFileInfo works with *files* not with *sockets*
19:24:39wuehlmausVarriount_: archlinux
19:24:41Varriount_wuehlmaus: It calls fstat on the given filehandle
19:24:52Araq_if a file is not persistent, it's not a file, but a stream. I don't care that Unix cannot even name its core abstractions properly.
19:25:30Varriount_wuehlmaus: Don't mind Araq_, Linux gives him a rash.
19:25:54Araq_no, I loathe Unix.
19:26:17Araq_never worked, never will.
19:27:16Varriount_wuehlmaus: Well, as long as the file descriptor or path works with stat or lstat, it should work.
19:27:41Varriount_wuehlmaus: What exactly happens when you give it the socket?
19:28:35Araq_Varriount_: it's bad since I'm sure it's wrong and indeed I now have something that fails
19:32:24*[1]iggy joined #nim
19:32:31*wireddude_ joined #nim
19:36:01[1]iggyHi, I am trying to setup nim to use vcc and I got most of it working except I can't find a way to solve this last problem:
19:36:02[1]iggyC:\Nim\lib\nimbase.h(184): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
19:36:26[1]iggyCan anyone help?
19:38:07reactormonkTime ti write nim-mode in nim? http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-25#n146
19:41:06Araq_[1]iggy: update your vcc?
19:41:21Araq_or change nimbase.h to not depend on stddef.h
19:42:50[1]iggyI have Visual Studio 2015... Should I just remove include stddef.h from nimbase?
19:49:57Araq_maybe you can read the header and think about it
19:50:29[1]iggyAraq_: Thanks. I'll look into it some more.
19:56:37*[1]iggy quit (Quit: I love my HydraIRC -> http://www.hydrairc.com <-)
19:58:21*filwit joined #nim
19:58:59*wireddude_ quit (Ping timeout: 264 seconds)
20:16:43*yglukhov joined #nim
20:26:59Varriount_wuehlmaus: Any luck?
20:28:31wuehlmausi try to get fstat testing
20:33:44*cyraxjoe joined #nim
20:40:17endragorif I have an identifier of a type in compile-time context, can I get the C++ name of the type that was associated via .importcpp pragma?
20:41:16Araq_endragor: no
20:49:46endragorAraq_: thanks
20:57:37gokr1def-: Nah, the more complete literal parsing can be found in lexer.nim - based on getEscapedChar - seems to be similar code in parsecfg.nim and pegs.nim
21:00:00*mat4 joined #nim
21:00:09mat4hello
21:00:24Varriount_Hey mat4!
21:00:55mat4hi Varriount_
21:00:59*Varriount_ is now known as Varriount
21:11:44bbl_Araq_: You aware that nimsuggest gives no docstrings?
21:12:09Araq_it should
21:12:14bbl_There were also some odd inconsistencies between v1 and v2
21:12:38*theduke quit (Ping timeout: 240 seconds)
21:12:39*_stowa quit (Ping timeout: 240 seconds)
21:13:13*theduke joined #nim
21:13:26*gokr1 quit (Ping timeout: 240 seconds)
21:14:26bbl_Araq_: in case "myVar.myFunc(|" should con give me something that fits as the first parameter of the function or the myFunc information instead?
21:14:52Araq_the myFunc information
21:14:55bbl_also def doesn't work with --v2
21:15:26*gokr joined #nim
21:15:42bbl_Araq_: what is the last number that comes after docstring?
21:15:58*_stowa joined #nim
21:16:09mat4does there exist an Allegro 5 wrapper for Nim ?
21:16:13Araq_matching quality.
21:16:23bbl_ah nice :P
21:19:33mat4found it
21:25:29*Jesin quit (Quit: Leaving)
21:25:40*gour quit (Quit: WeeChat 1.3)
21:32:48*darkf quit (Quit: Leaving)
21:34:05*Ivan__ joined #nim
21:37:10*yglukhov quit (Remote host closed the connection)
21:38:33filwitis it possible to make your own iterator like system.fields which unrolls the loop? Or is that a special case in the compiler?
21:38:49Ivan__hi all, is it possible in nim to stringify an argument passed to a template and use it, without actually creating the identifier? i've been looking through language manual and couldn't find it so far
21:38:50filwitI can't seem to find the system.fields iterator in the Nim source :\
21:40:22filwitIvan__: maybe not a template, but a macro, yes: `macro foo(e:untyped)`
21:45:43Varriountfilwit: A macro might be able to simulate it, to a certain extent.
21:46:07Varriountfilwit: Use the getImpl (I think that's the name?) and process the returned ast
21:47:13Ivan__okey, i have tried this: macro stringify(n: untyped): string = result = newNimNode(nnkStmtList, n) result.add(toStrLit(n))
21:47:27Ivan__and it works, even when called from a template
21:47:46filwitVarriount: yeah i know, that's what I'm doing now.. just wondering if there was a way to unroll a 'for' loop via an iterator like `fields`.. doesn't really look like it, seems that function is a bit of a special case
21:59:14*Matthias247 quit (Read error: Connection reset by peer)
22:07:10*Trustable joined #nim
22:27:13*wireddude_ joined #nim
22:27:47mat4does Nim support binary numbers ?
22:28:30*endragor quit (Ping timeout: 256 seconds)
22:29:56mat4(I mean binary literals)
22:30:10mat4like 010110111110101010b
22:30:13filwitfound a pretty bad bug with using a ptr inside a concept: https://github.com/nim-lang/Nim/issues/3805
22:31:18filwitasking `x is ptr[]` will silently prevent all procs which accept a concept from being called :\
22:32:17*Dildosan joined #nim
22:32:33filwitmat4: looks like it: http://nim-lang.org/docs/tut1.html#lexical-elements-numbers
22:33:19mat4thanks, the same prefix as supported by C++ 14
22:37:39*yglukhov joined #nim
22:39:26mat4(that's nice)
22:39:28*Jesin joined #nim
22:39:50*wireddude_ quit (Ping timeout: 256 seconds)
22:41:45*yglukhov quit (Ping timeout: 245 seconds)
22:47:33*filwit quit (Quit: Leaving)
22:54:36*wireddude_ joined #nim
22:59:23*Demon_Fox joined #nim
23:02:12*wireddude_ quit (Quit: Mutter: www.mutterirc.com)
23:14:16*mat4 quit (Quit: Verlassend)
23:18:00*Dildosan quit (Ping timeout: 245 seconds)
23:19:36*AckZ quit (Ping timeout: 250 seconds)
23:19:56*DecoPerson quit (Read error: Connection reset by peer)
23:20:41*clone1018 quit (Read error: Connection reset by peer)
23:20:42*k1io quit (Read error: Connection reset by peer)
23:20:49*DecoPerson joined #nim
23:22:04*AckZ joined #nim
23:23:29*k1io joined #nim
23:23:57*johnsoft quit (Quit: Leaving)
23:25:35*gsingh93 quit (Ping timeout: 240 seconds)
23:25:44*ephja quit (Ping timeout: 256 seconds)
23:25:55*Amrykid quit (Ping timeout: 240 seconds)
23:26:33*pleiosau1 quit (Ping timeout: 250 seconds)
23:26:33*nim-buildbot quit (Ping timeout: 250 seconds)
23:26:33*Ivan__ quit (Ping timeout: 252 seconds)
23:26:35*federico3 quit (Ping timeout: 240 seconds)
23:26:55*devn_ quit (Ping timeout: 240 seconds)
23:27:12*pleiosaur joined #nim
23:27:48*devn joined #nim
23:28:20*clone1018 joined #nim
23:30:36*Trustable quit (Remote host closed the connection)
23:33:02*gsingh93 joined #nim
23:33:15*Amrykid joined #nim
23:34:45gmpreussnerVarriount, you around?
23:35:07gmpreussneri just updated to latest NimLime, and now Sublime will no longer start. it says it can't find nim.exe and nimsuggest.exe anymore, even though they're in the PATH
23:37:01Varriountgmpreussner: Huh? The IDE should start..
23:37:24VarriountI mean, the error windows will pop up, but they're just warnings
23:37:25gmpreussnerone sec... the pull may not have succeeded
23:37:41gmpreussneri get the error window, the process keeps running, but the main window never opens
23:37:47*ephja joined #nim
23:37:53gmpreussnerand i can't open any other instances. anyway, let me try to pull from upstream one more time
23:38:06Varriountgmpreussner: Huh. What OS are you running sublime text on?
23:39:01*aziz quit (Remote host closed the connection)
23:39:14*yglukhov joined #nim
23:39:41gmpreussneri'm on Windows 10. git says i'm at head revision :/
23:39:54*federico3 joined #nim
23:40:26gmpreussnerone sec, making sure nimsuggest is ok
23:40:47Varriountgmpreussner: The only thing that normally stops the main window from appearing is a configuration file issue.
23:40:55VarriountIs this ST2 or ST3?
23:41:54gmpreussnerST2
23:42:18VarriountHm.
23:42:49gmpreussnernim, nimsuggest and NimLime are all head revision. lemme check the config
23:43:25*yglukhov quit (Ping timeout: 245 seconds)
23:45:01Varriountgmpreussner: If you can, open up the main configuration file (NimLIme.sublime-settings) in another text editor, and add they key "check_configuration": true
23:45:16gmpreussnerok
23:45:32VarriountEr, make it false
23:45:53VarriountThat should disable the warning messages
23:46:55gmpreussneryeah, it did. but still no window. process is running. i think it's trying to restore my previously closed Nim project session and fails somewhere
23:47:14Varriountgmpreussner: Have you killed the background process?
23:47:33gmpreussneri killed the ST2 process in task manager, yes
23:47:38VarriountHrm.
23:48:13gmpreussnernow, i should perhaps add that i updated NimLime while ST2 was open (i didn't realize that it was)
23:48:26gmpreussneri wonder if that screwed up the project or something
23:48:37gmpreussnerlet me delete the project...
23:48:42Varriountgmpreussner: Delete the cache files in the plugin's directory
23:49:01VarriountIncluding the .pyc files.
23:50:59gmpreussnerstill same problem. let me wipe the plugin and start over
23:51:54VarriountThe only thing that might prevent the window from opening in ST2 is if a plugin was doing a long running blocking operation on start.
23:57:58Varriountgmpreussner: It seems that ST2 has a bug that prevents the main window from appearing if a message box is created at startup.
23:58:29VarriountHm... how to fix this...