<< 30-11-2015 >>

13:16:54*NimBot joined #nim
13:17:04*nicktick joined #nim
13:23:13*elrood quit (Remote host closed the connection)
13:26:05*nicktick quit (Quit: Leaving.)
13:26:39*nicktick joined #nim
13:31:02*nicktick quit (Ping timeout: 260 seconds)
13:31:04*kerze quit (Remote host closed the connection)
13:31:43*kerze joined #nim
13:47:53*gsingh93 quit (Ping timeout: 260 seconds)
13:52:08*gokr joined #nim
15:37:24*NimBot joined #nim
15:41:55*nicktick joined #nim
15:44:40*gokr quit (Read error: Connection reset by peer)
15:49:51*zama joined #nim
15:49:55*BitPuffin joined #nim
15:54:16*kulelu88 joined #nim
15:55:03*ayeganov quit (Quit: leaving)
15:55:13*gsingh93 joined #nim
15:56:46*enamex joined #nim
16:02:15*gokr joined #nim
16:09:19*zepolen quit (Remote host closed the connection)
16:12:04*shodan45 joined #nim
16:18:04*zepolen joined #nim
16:20:29*zepolen quit (Remote host closed the connection)
16:20:44*desophos joined #nim
16:20:54*elrood joined #nim
16:33:35*girvo joined #nim
16:38:11*girvo quit (Ping timeout: 260 seconds)
16:44:15*wh1t3r0s3 quit (Ping timeout: 260 seconds)
16:45:30*wh1t3r0s3 joined #nim
17:07:14*enamex quit (Ping timeout: 245 seconds)
17:08:53yglukhovHi all. Can a typed template consist of only emit? Can i say, that my emit is an expr with specific type?
17:11:19*enquora joined #nim
17:16:16*enamex joined #nim
17:19:35*theduke joined #nim
17:25:46*enquora quit (Ping timeout: 260 seconds)
17:29:20*yglukhov_ joined #nim
17:32:46*yglukhov quit (Ping timeout: 260 seconds)
17:33:29*yglukhov_ quit (Ping timeout: 245 seconds)
17:36:04*euantor joined #nim
17:36:16thedukesomebdoy asked about a yaml parser
17:36:20thedukei needed one too
17:36:23thedukehere ya go: https://github.com/nim-appkit/yaml
17:40:30flyxfunny as I'm currently implementing one myself
17:50:10*enquora joined #nim
17:51:10thedukeflyx: well... crap. ^^
17:51:20thedukeflyx: did you notice too that yaml is a bit annoying to parse?
17:51:39thedukethe lexing is easy, but putting it together is not that simple
17:51:41flyxwell I noticed that the lexer is already context-free but not regular
17:52:12thedukeregular?
17:52:30flyxhttps://en.wikipedia.org/wiki/Regular_grammar
17:52:40*jaco60 joined #nim
17:53:39*darkf quit (Quit: Leaving)
17:54:48flyxmy lexer is pretty complete but already at 800 loc
18:01:06flyxtheduke: well as I'm 1-2 days away from where you are, I'll finish mine nonetheless. it's always good to have alternatives
18:03:08*euantor quit (Remote host closed the connection)
18:04:09*euantor joined #nim
18:09:54*boopsiesisaway is now known as boopsies
18:10:59thedukeflyx: I built a generic Parser object which is similar to the parseutils pkg. makes the lexing really convenient
18:11:01thedukehttps://github.com/nim-appkit/utils/blob/master/src/utils/parser.nim
18:12:21*Jesin joined #nim
18:15:34flyxI just use lexbase and do everything else myself. I figured it would be faster to build it taylored specifically to the language
18:17:55ephjawhy not parseutils?
18:18:16ephjahere's a parser generator https://github.com/fowlmouth/glossolalia
18:19:36ephjathough it lacks unicode support
18:20:52*Xe quit (Quit: *.yolo *.swag)
18:22:16*makoLine joined #nim
18:23:06*ldlework quit (Ping timeout: 240 seconds)
18:24:14*Xe joined #nim
18:25:29*euantor quit (Remote host closed the connection)
18:28:32*kerze quit (Quit: Leaving)
18:29:50*yglukhov joined #nim
18:30:41*ldlework joined #nim
18:34:22*yglukhov quit (Ping timeout: 260 seconds)
18:34:25*girvo joined #nim
18:36:06*enamex quit (Ping timeout: 250 seconds)
18:37:10*Yaiyan quit (Ping timeout: 260 seconds)
18:39:02*girvo quit (Ping timeout: 260 seconds)
18:40:26*Yaiyan joined #nim
18:41:03flyxephja: parseutils works directly on strings. I have a lexer that emits lexer tokens (with an enum'd kind and string content), so I cannot use parseutils for the parsing phase
18:45:34*nicktick quit (Ping timeout: 245 seconds)
18:46:15thedukeflyx: I don't support anchors / aliases yet, so you can still one-up me ;)
18:48:04flyxwell I can lex them, though I will only take care of them when I arrive at composition
18:48:58ephjaok
18:50:04*nicktick joined #nim
18:52:35*yglukhov joined #nim
18:59:34*enamex joined #nim
19:04:06*lokulin quit (Ping timeout: 240 seconds)
19:06:44*kerze joined #nim
19:08:36*enamex quit (Ping timeout: 250 seconds)
19:09:05flyxcan I continue an outer loop?
19:10:41flyxthe language manual strangely states: continueStmt = 'break' optInd expr?
19:10:47*nicktick1 joined #nim
19:12:14*nicktick quit (Ping timeout: 245 seconds)
19:17:55*Matthias247 joined #nim
19:18:25*enamex joined #nim
19:24:57*enquora quit (Quit: enquora)
19:25:06*euantor joined #nim
19:25:57*lokulin joined #nim
19:29:09*enquora joined #nim
19:29:49*euantor quit (Remote host closed the connection)
19:31:15*euantor joined #nim
19:33:44*enquora quit (Quit: enquora)
19:44:03*kerze quit (Remote host closed the connection)
19:45:18*BitPuffin quit (Ping timeout: 260 seconds)
19:45:32*shodan45_ joined #nim
19:47:36*shodan45 quit (Ping timeout: 250 seconds)
19:47:51*shodan45_ quit (Client Quit)
19:56:07*xet7 joined #nim
20:05:57*brson joined #nim
20:09:53*Demon_Fox joined #nim
20:17:10*sarlalian quit (Quit: WeeChat 0.4.2)
20:22:00*sarlalian joined #nim
20:35:15*girvo joined #nim
20:39:54*girvo quit (Ping timeout: 260 seconds)
20:55:26*euantor quit ()
20:56:26*xificurC joined #nim
21:09:30*kerze joined #nim
21:18:55*Guest37084 quit (Changing host)
21:18:55*Guest37084 joined #nim
21:18:55*Guest37084 quit (Changing host)
21:18:55*Guest37084 joined #nim
21:19:04*Guest37084 is now known as Heartmender
21:21:26*kerze quit (Ping timeout: 260 seconds)
21:29:57*zepolen joined #nim
21:32:44*BitPuffin|osx joined #nim
21:33:56*zepolen quit (Remote host closed the connection)
21:34:24*kashyap_ joined #nim
21:35:06*kashyap_ quit (*.net *.split)
21:39:15*zepolen joined #nim
21:40:34*BitPuffin|osx quit (Ping timeout: 260 seconds)
21:40:55*zepolen quit (Remote host closed the connection)
21:42:35*zxtx_ joined #nim
21:44:44*Yaiyan quit (Ping timeout: 245 seconds)
21:45:41*Yaiyan joined #nim
21:45:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:52:06*skry40 joined #nim
21:54:27*bjz joined #nim
21:55:36*BitPuffin|osx joined #nim
21:56:52*zepolen joined #nim
22:00:58*zepolen quit (Remote host closed the connection)
22:02:04*skry40 quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
22:10:46*polde quit (Read error: Connection reset by peer)
22:11:40*polde joined #nim
22:12:00*Jesin quit (Quit: Leaving)
22:14:23*nande joined #nim
22:23:54*^aurora^ joined #nim
22:26:24thedukeI'm a bit confused about iterators:
22:26:58thedukefor pair in os.envPairs: echo(pair)
22:27:17theduketype mismatch: got (iterator (): iter[tuple[key: TaintedString, value: TaintedString]]
22:27:34thedukebut expected system.items()...
22:28:35def-theduke: for x, y in
22:28:48*enamex quit (Read error: Connection reset by peer)
22:29:02thedukesame error
22:29:06*enamex joined #nim
22:29:40thedukebut expected one of: system.pairs(a: openarray[T]) ....
22:29:45def-envPairs()
22:30:01thedukeah
22:30:17thedukemuchas gracias
22:30:22def-you're welcome
22:30:46thedukereal headscratcher right there. since you usually never need the ()
22:31:23def-In similar situations with procs you need the ()
22:31:35def-var f = myProc # saves the proc in f
22:31:39def-var f = myProc() # saves the result in f
22:35:54*girvo joined #nim
22:36:13*xificurC quit (Quit: WeeChat 1.3)
22:40:09*girvo quit (Ping timeout: 245 seconds)
22:41:00*zepolen joined #nim
22:42:38*cryzed quit (Ping timeout: 260 seconds)
22:44:46*cryzed joined #nim
22:47:08*boopsies is now known as boopsiesisaway
22:50:12*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:52:48*dom96 quit (Changing host)
22:52:48*dom96 joined #nim
22:54:49*enamex quit (Read error: Connection reset by peer)
22:55:15*zxtx_ is now known as zxtx
22:55:35*enamex joined #nim
23:01:35*zepolen_ joined #nim
23:04:34*zepolen quit (Ping timeout: 260 seconds)
23:06:21*zepolen_ quit (Remote host closed the connection)
23:09:00*kulelu88 left #nim ("Leaving")
23:15:06*Jesin joined #nim
23:19:19*Jesin quit (Ping timeout: 245 seconds)
23:23:29*brson quit (Ping timeout: 245 seconds)
23:28:52*^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
23:32:06*enamex quit (Ping timeout: 260 seconds)
23:34:23*elrood quit (Quit: Leaving)
23:44:12*desophos quit (Ping timeout: 250 seconds)
23:47:36*yglukhov quit (Remote host closed the connection)
23:52:10*jaco60 quit (Ping timeout: 260 seconds)
23:55:15NimBotnim-lang/Nim devel a173945 Araq [+0 ±1 -0]: first version of the new hard realtime GC
23:55:15NimBotnim-lang/Nim devel 6361f6b Araq [+0 ±1 -0]: --gc:v2 requires global root tracking
23:55:15NimBotnim-lang/Nim devel 5de900b Araq [+0 ±3 -0]: added iterToProc plugin
23:55:15NimBotnim-lang/Nim devel 9d1f197 Araq [+0 ±1 -0]: added CellSetIter for git's history
23:55:15NimBot8 more commits.