<<21-03-2013>>

00:03:35dom96same, good night.
00:03:39*gradha quit (Quit: bbl, have youtube videos to watch)
00:18:33*q66 quit (Remote host closed the connection)
00:30:27*fowl quit (Read error: Connection reset by peer)
01:38:43*Boscop quit (Read error: Connection reset by peer)
01:39:40*Boscop joined #nimrod
03:10:03*Trix[a]r_za is now known as Trixar_za
03:11:34*fowl joined #nimrod
03:40:50*fowl quit (Ping timeout: 252 seconds)
04:49:37*Trixar_za is now known as Trix[a]r_za
07:18:09*fowl joined #nimrod
07:25:59*gour joined #nimrod
08:01:56*Araq_ joined #nimrod
08:03:44*Boscop quit (Ping timeout: 252 seconds)
08:37:27*Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])
09:05:42*fowl quit (Quit: Leaving)
10:31:09*Araq_ joined #nimrod
10:58:34*Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])
11:35:19*Araq_ joined #nimrod
12:01:52*Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])
13:09:40*q66 joined #nimrod
14:01:13*XAMPP quit (Quit: My code has no bug's, just random features)
14:27:43*Araq_ joined #nimrod
14:27:56*Araq_ quit (Client Quit)
17:23:45*gour quit (Disconnected by services)
17:23:45*gour_ joined #nimrod
18:32:47*AmatCoder joined #nimrod
18:49:15dom96AmatCoder: Sorry about not merging your pull request yet. I will try to do it today, if I can't manage to do it today I will most definitely do it tomorrow.
19:01:32*AmatCoder quit (Read error: Connection reset by peer)
19:11:39*AmatCoder joined #nimrod
19:13:21AmatCoderdom96: no problem ;-)
19:35:34*Zerathul joined #nimrod
19:36:39*Zerathul quit (Client Quit)
19:46:50*exhu joined #nimrod
19:51:11exhuIs Araq here?
19:54:09dom96not currently no.
19:54:17dom96Maybe I can help?
19:56:56exhuhttp://forum.nimrod-code.org/t/137
19:57:24exhuThe pragma syntax was proposed by Araq in this chat several days earlier but it doesn't work.
19:59:17exhudom96, any ideas?
19:59:42exhudom96, i'm trying to mimic java annotations.
20:01:02dom96You sure comments are not part of the tree?
20:01:19dom96Maybe you could define an {.id.} pragma.
20:01:55dom96With {.pragma: id.}
20:03:12exhuit's tedious to define pragmas, it's the user code, not the implementation
20:03:44exhui need to declare sql table column names to nimrod field names
20:04:48exhudumpTree doesn't show comment nodes
20:11:02*Zerathul joined #nimrod
20:11:38dom96weird, not sure what else I can tell you to try.
20:12:02*Zerathul quit (Client Quit)
20:13:09exhudom96, ok, let's wait till the Master tells -)
20:13:18dom96indeed
20:29:17NimBotAraq/Nimrod 4e6e823 Araq [+0 ±3 -0]: better error message when C compilation fails
20:29:17NimBotAraq/Nimrod c8a73ea Araq [+1 ±4 -0]: bugfix: case exhaustiveness checking
20:29:17NimBotAraq/Nimrod 226e5ca Araq [+1 ±6 -0]: added system.locals
20:33:11reactormonkAraq, *kick*
20:33:26Araqreactormonk: well now I'm working on the JS stuff :P
20:34:47exhuAraq, please look at http://forum.nimrod-code.org/t/137 when you have time.
20:34:57reactormonkAraq, good :-)
20:34:57Araqexhu: I've already read it
20:34:57reactormonkAraq, wanna see it
20:35:42AraqI'm too lazy to check what dumpTree does but if it checks semantics the tree before it's dumped you have a slight problem here
20:36:02Araqthe solution is indeed to define a dummy {.pragma id.} to make it compile
20:36:17Araqhowever that's the only problem really
20:36:42Araqyour macro should be immediate and so can remove the unknown 'id' pragma before the compiler "sees" it
20:38:32Araqthe nice thing about the AST is that you don't have to remove the pragma really iirc
20:38:42Araqyou can overwrite the node with the empty node
20:39:17exhuAraq, but i need dumpTree working and it'll require defining all those pragmas, otherwise writing a macro without this function is like a minesweeper game.
20:39:52Araqbut you only need to define these pragmas for dumpTree during development
20:40:02Araqthe final version does not require the pragma dummy definitions
20:40:37Araqhow many pragmas do you need btw?
20:41:02exhuAraq, i see, ok with one pragma and one field for development
20:41:42exhuAraq, but the next thing that borthers me is to support the final macro, it's hard to debug and figure out the output.
20:42:37exhuAraq, e.g. macro defPacket from here https://github.com/fowlmouth/keineSchweine/blob/master/dependencies/genpacket/genpacket.nim -- it's terribly criptic
20:45:02Araqexhu: it's cryptic because the macros API is bare bones and only provides the minimum
20:45:17Araqin fact, it's still lacking a type API
20:45:37exhuAraq, ah, never mind, i'll put a lot of comments into mine.
20:45:37Araqhowever there is now macros.quote for easier macro definition
20:46:12Araqand actually ... it's not that hard once you're used to it
20:46:22Araqit's mostly verbose with lots of magic numbers
20:46:32Araq;-)
20:48:17exhuCan i use only compiletime procs in macros?
20:48:52exhui.e. if my macro gets that long i want to split it into subroutines (procs) that's for sure.
20:49:42reactormonkexhu, I'd use templates inside the macros, where it's reasonable
20:52:22AraqcompileTime procs are indeed a good way for macros
20:53:17Araqreactormonk: I removed "exception handling not working for JS" off my todo ... it works now, right?
20:53:42reactormonkAraq, the tests run, if that's the indicator
20:54:12Araqthe tests are good stress tests iirc
20:54:22Araqtook some effort to create those
20:56:17reactormonkdom96, what about actors/futures for async?
20:57:02Araqreactormonk: futures are planned
21:00:17*exhu quit (Quit: Ex-Chat)
21:22:43*Zerathul joined #nimrod
21:36:23*Zerathul_ joined #nimrod
21:38:58*Zerathul quit (Ping timeout: 256 seconds)
21:38:58*Zerathul_ is now known as Zerathul
21:44:18*Zerathul_ joined #nimrod
21:46:53*Zerathul quit (Ping timeout: 256 seconds)
21:46:53*Zerathul_ is now known as Zerathul
21:52:43*gradha joined #nimrod
21:53:23Araqhi gradha
21:54:03gradhahi Araq
22:19:03gradhaI'm trying to understand this reddit thingy, there are lots of links and something which looks like tags in pink letters in grey boxes, which are not interactive
22:19:23gradhawhat I'm trying to understand is why most of them are wrong, do people tag stuff incurrectly or is it some spam filtering?
22:20:03dom96I think subreddit admins may do that sometimes, I don't fully understand how that works. But I don't see them often.
22:20:53gradhait's weird because they tag kpop groups incorrectly, but there is no way to group through that tag, so it's more like an ad?
22:21:38dom96oh, hrm.
22:21:38dom96Are those tags in titles?
22:21:58dom96"[KpopType] Song name"
22:21:58dom96Or something like that?
22:22:08dom96if yes, then the people who submit the links tag them probably
22:22:08dom96and it's subreddit rules to tag them
22:22:33dom96Take a look at the right sidebar
22:23:18gradhaweird, those are actually moderators
22:23:38gradhaso a moderator with the pink text for "crayon pop" is submitting news about glam (another group), and it looks weird
22:24:23*Zerathul_ joined #nimrod
22:26:03gradhameh, would look into this reddit thing if it actually worked, it's so confusing as the recent gimp 2.8.4 for macosx, which crashes when loading a jpg
22:27:03*Zerathul quit (Ping timeout: 256 seconds)
22:27:23*Zerathul_ is now known as Zerathul
22:29:18dom96gradha: you should study the front page of reddit before making up your mind about it
22:29:53gradhabut the main page is going to be noise about everything, if it doesn't look useful about a specific topic, how can it be better when being generic?
22:31:53dom96Try r/programming
22:34:38gradhaamazing, I clicked a few links of kpop, none on programming
22:38:18*Zerathul_ joined #nimrod
22:40:23gradhaAraq: I'm trying to wrap nimrod's build process inside a shell script run inside xcode, and koch web fails
22:40:43*Zerathul quit (Ping timeout: 256 seconds)
22:40:43gradhacould it be because it's not using a relative path to nimrod but uses $PATH to call it?
22:40:58*Zerathul_ is now known as Zerathul
22:44:53Araqgradha: quite possible yeah
22:56:19*AmatCoder quit (Quit: Leaving)
23:29:14gradhaI understand requiring #end if for templates, but why does code use also end if? Indentation would be used there, or would not? I'm looking at main.tmpl
23:30:04Araqyour question doesn't make any sense :P
23:30:14Araqmain.tmpl is obviously a template file
23:30:24Araq(not to be confused with nimrod's templates)
23:30:39gradhaI've removed the "# end if" and everything seems to work
23:30:59gradhaafter all, if only # is stripped, why would you need an end if in normal nimrod code?
23:31:19gradhaah, it compiles, but doesn't render anything
23:33:34Araqyou need an 'end if' because indentation is screwed in a .tmpl file
23:34:44gradhaI was expecting indentation to work in a contiguous # block
23:35:04gradhabut maybe that would be even more confusing, when mixed with other indentation
23:35:44gradhaidetools jumping from source code to template is brilliant
23:37:59*Zerathul quit (Ping timeout: 256 seconds)
23:38:44*Zerathul joined #nimrod
23:50:39Araqgradha: glad to hear that works ;-)
23:51:39gradhaunfortunately it doesn't work the other way round
23:52:04Araqidetools is buggy as hell
23:52:39gradhaand indentation inside templates is screwed, so imagine trying to match columns
23:58:44*q66 quit (Remote host closed the connection)