00:03:35 | dom96 | same, 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:15 | dom96 | AmatCoder: 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:21 | AmatCoder | dom96: no problem ;-) |
19:35:34 | * | Zerathul joined #nimrod |
19:36:39 | * | Zerathul quit (Client Quit) |
19:46:50 | * | exhu joined #nimrod |
19:51:11 | exhu | Is Araq here? |
19:54:09 | dom96 | not currently no. |
19:54:17 | dom96 | Maybe I can help? |
19:56:56 | exhu | http://forum.nimrod-code.org/t/137 |
19:57:24 | exhu | The pragma syntax was proposed by Araq in this chat several days earlier but it doesn't work. |
19:59:17 | exhu | dom96, any ideas? |
19:59:42 | exhu | dom96, i'm trying to mimic java annotations. |
20:01:02 | dom96 | You sure comments are not part of the tree? |
20:01:19 | dom96 | Maybe you could define an {.id.} pragma. |
20:01:55 | dom96 | With {.pragma: id.} |
20:03:12 | exhu | it's tedious to define pragmas, it's the user code, not the implementation |
20:03:44 | exhu | i need to declare sql table column names to nimrod field names |
20:04:48 | exhu | dumpTree doesn't show comment nodes |
20:11:02 | * | Zerathul joined #nimrod |
20:11:38 | dom96 | weird, not sure what else I can tell you to try. |
20:12:02 | * | Zerathul quit (Client Quit) |
20:13:09 | exhu | dom96, ok, let's wait till the Master tells -) |
20:13:18 | dom96 | indeed |
20:29:17 | NimBot | Araq/Nimrod 4e6e823 Araq [+0 ±3 -0]: better error message when C compilation fails |
20:29:17 | NimBot | Araq/Nimrod c8a73ea Araq [+1 ±4 -0]: bugfix: case exhaustiveness checking |
20:29:17 | NimBot | Araq/Nimrod 226e5ca Araq [+1 ±6 -0]: added system.locals |
20:33:11 | reactormonk | Araq, *kick* |
20:33:26 | Araq | reactormonk: well now I'm working on the JS stuff :P |
20:34:47 | exhu | Araq, please look at http://forum.nimrod-code.org/t/137 when you have time. |
20:34:57 | reactormonk | Araq, good :-) |
20:34:57 | Araq | exhu: I've already read it |
20:34:57 | reactormonk | Araq, wanna see it |
20:35:42 | Araq | I'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:02 | Araq | the solution is indeed to define a dummy {.pragma id.} to make it compile |
20:36:17 | Araq | however that's the only problem really |
20:36:42 | Araq | your macro should be immediate and so can remove the unknown 'id' pragma before the compiler "sees" it |
20:38:32 | Araq | the nice thing about the AST is that you don't have to remove the pragma really iirc |
20:38:42 | Araq | you can overwrite the node with the empty node |
20:39:17 | exhu | Araq, 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:52 | Araq | but you only need to define these pragmas for dumpTree during development |
20:40:02 | Araq | the final version does not require the pragma dummy definitions |
20:40:37 | Araq | how many pragmas do you need btw? |
20:41:02 | exhu | Araq, i see, ok with one pragma and one field for development |
20:41:42 | exhu | Araq, 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:37 | exhu | Araq, e.g. macro defPacket from here https://github.com/fowlmouth/keineSchweine/blob/master/dependencies/genpacket/genpacket.nim -- it's terribly criptic |
20:45:02 | Araq | exhu: it's cryptic because the macros API is bare bones and only provides the minimum |
20:45:17 | Araq | in fact, it's still lacking a type API |
20:45:37 | exhu | Araq, ah, never mind, i'll put a lot of comments into mine. |
20:45:37 | Araq | however there is now macros.quote for easier macro definition |
20:46:12 | Araq | and actually ... it's not that hard once you're used to it |
20:46:22 | Araq | it's mostly verbose with lots of magic numbers |
20:46:32 | Araq | ;-) |
20:48:17 | exhu | Can i use only compiletime procs in macros? |
20:48:52 | exhu | i.e. if my macro gets that long i want to split it into subroutines (procs) that's for sure. |
20:49:42 | reactormonk | exhu, I'd use templates inside the macros, where it's reasonable |
20:52:22 | Araq | compileTime procs are indeed a good way for macros |
20:53:17 | Araq | reactormonk: I removed "exception handling not working for JS" off my todo ... it works now, right? |
20:53:42 | reactormonk | Araq, the tests run, if that's the indicator |
20:54:12 | Araq | the tests are good stress tests iirc |
20:54:22 | Araq | took some effort to create those |
20:56:17 | reactormonk | dom96, what about actors/futures for async? |
20:57:02 | Araq | reactormonk: 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:23 | Araq | hi gradha |
21:54:03 | gradha | hi Araq |
22:19:03 | gradha | I'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:23 | gradha | what 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:03 | dom96 | I think subreddit admins may do that sometimes, I don't fully understand how that works. But I don't see them often. |
22:20:53 | gradha | it'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:38 | dom96 | oh, hrm. |
22:21:38 | dom96 | Are those tags in titles? |
22:21:58 | dom96 | "[KpopType] Song name" |
22:21:58 | dom96 | Or something like that? |
22:22:08 | dom96 | if yes, then the people who submit the links tag them probably |
22:22:08 | dom96 | and it's subreddit rules to tag them |
22:22:33 | dom96 | Take a look at the right sidebar |
22:23:18 | gradha | weird, those are actually moderators |
22:23:38 | gradha | so 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:03 | gradha | meh, 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:18 | dom96 | gradha: you should study the front page of reddit before making up your mind about it |
22:29:53 | gradha | but 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:53 | dom96 | Try r/programming |
22:34:38 | gradha | amazing, I clicked a few links of kpop, none on programming |
22:38:18 | * | Zerathul_ joined #nimrod |
22:40:23 | gradha | Araq: 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:43 | gradha | could 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:53 | Araq | gradha: quite possible yeah |
22:56:19 | * | AmatCoder quit (Quit: Leaving) |
23:29:14 | gradha | I 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:04 | Araq | your question doesn't make any sense :P |
23:30:14 | Araq | main.tmpl is obviously a template file |
23:30:24 | Araq | (not to be confused with nimrod's templates) |
23:30:39 | gradha | I've removed the "# end if" and everything seems to work |
23:30:59 | gradha | after all, if only # is stripped, why would you need an end if in normal nimrod code? |
23:31:19 | gradha | ah, it compiles, but doesn't render anything |
23:33:34 | Araq | you need an 'end if' because indentation is screwed in a .tmpl file |
23:34:44 | gradha | I was expecting indentation to work in a contiguous # block |
23:35:04 | gradha | but maybe that would be even more confusing, when mixed with other indentation |
23:35:44 | gradha | idetools 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:39 | Araq | gradha: glad to hear that works ;-) |
23:51:39 | gradha | unfortunately it doesn't work the other way round |
23:52:04 | Araq | idetools is buggy as hell |
23:52:39 | gradha | and indentation inside templates is screwed, so imagine trying to match columns |
23:58:44 | * | q66 quit (Remote host closed the connection) |