00:00:46 | OrionPK | the documentation module depends on the renderer, but the renderer, but it does its own formatting on items that the rendered doesnt |
00:01:42 | * | ltbarcly joined #nimrod |
00:10:41 | OrionPK | fowl working on a compiler extension that outputs exported symbol declarations without proc bodies and such |
00:11:54 | * | rel42 joined #nimrod |
00:30:27 | * | rel42 quit (Quit: Leaving) |
00:31:36 | fowl | OrionPK, like idetools? |
00:32:44 | OrionPK | maybe.. |
00:32:50 | OrionPK | whats it do? |
00:33:08 | fowl | im not sure lol |
00:33:19 | OrionPK | heh.. any idea how to call it? |
00:33:30 | fowl | nimrod --advanced has info on it |
00:33:56 | OrionPK | yeah |
00:33:58 | OrionPK | i'm looking at it |
00:35:14 | OrionPK | but not really self explanatory how to actually call it |
00:36:08 | fowl | i think aporia uses it |
00:37:59 | OrionPK | yeah |
00:38:19 | OrionPK | but I dont think what I"m working on exists, per se |
00:40:54 | OrionPK | it's mainly intended for wrapper & library use |
00:44:09 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
01:12:29 | * | DAddYE quit (Remote host closed the connection) |
01:12:46 | * | kryton9 quit () |
01:28:05 | * | Ricky_Ricardo joined #nimrod |
01:28:16 | * | Ricky_Ricardo quit (Client Quit) |
01:46:11 | * | fowl quit (Quit: Leaving) |
01:51:07 | * | brson quit (Ping timeout: 272 seconds) |
01:51:35 | * | brson joined #nimrod |
02:13:29 | * | DAddYE joined #nimrod |
02:19:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
02:21:02 | * | brson quit (Ping timeout: 240 seconds) |
03:06:26 | * | wlhlm joined #nimrod |
03:11:49 | * | BitPuffin quit (Read error: Operation timed out) |
03:16:26 | * | DAddYE joined #nimrod |
03:22:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
03:33:40 | * | rel42 joined #nimrod |
03:40:05 | * | gdos joined #nimrod |
03:42:35 | * | rel42 quit (Quit: Leaving) |
03:53:40 | * | OrionPK quit (Quit: Leaving) |
04:04:23 | * | ltbarcly joined #nimrod |
04:04:38 | * | ltbarcly quit (Client Quit) |
04:13:44 | Varriount | Anyone know how to check if a variable is nil? |
04:17:20 | Varriount | And by variable, I mean a variable that has an object type. |
04:19:28 | * | DAddYE joined #nimrod |
04:26:04 | * | DAddYE quit (Ping timeout: 256 seconds) |
04:36:51 | * | wlhlm quit (Ping timeout: 245 seconds) |
05:22:39 | * | DAddYE joined #nimrod |
05:27:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
05:53:49 | * | ltbarcly joined #nimrod |
06:25:27 | * | DAddYE joined #nimrod |
06:31:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
06:50:35 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
06:51:24 | * | dyu joined #nimrod |
07:22:27 | * | DAddYE joined #nimrod |
07:30:10 | * | Associ8or quit (Quit: Associ8or) |
08:10:22 | * | ltbarcly joined #nimrod |
08:54:11 | * | DAddYE quit (Remote host closed the connection) |
09:55:22 | * | DAddYE joined #nimrod |
10:01:26 | * | DAddYE quit (Ping timeout: 240 seconds) |
10:29:35 | * | q66 joined #nimrod |
10:58:12 | * | DAddYE joined #nimrod |
11:02:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
11:05:45 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
11:11:00 | * | q66 quit (Quit: Leaving) |
11:12:07 | * | BitPuffin joined #nimrod |
11:55:03 | * | wlhlm joined #nimrod |
11:58:50 | * | DAddYE joined #nimrod |
12:03:02 | * | DAddYE quit (Ping timeout: 240 seconds) |
12:20:57 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
12:21:25 | * | BitPuffin joined #nimrod |
12:53:03 | * | Ricky_Ricardo joined #nimrod |
12:59:45 | * | DAddYE joined #nimrod |
13:02:43 | * | gdos quit (Ping timeout: 272 seconds) |
13:06:47 | * | DAddYE quit (Ping timeout: 268 seconds) |
13:07:48 | * | BitPuffin quit (Ping timeout: 258 seconds) |
14:02:41 | * | DAddYE joined #nimrod |
14:07:06 | * | DAddYE quit (Ping timeout: 245 seconds) |
14:17:49 | * | gdos joined #nimrod |
14:25:03 | * | Endy joined #nimrod |
14:38:07 | * | Ricky_Ricardo quit (Quit: work!) |
14:38:57 | * | gdos quit (Read error: Connection reset by peer) |
14:51:45 | * | Associat0r joined #nimrod |
14:51:46 | * | Associat0r quit (Changing host) |
14:51:46 | * | Associat0r joined #nimrod |
14:54:38 | * | io2 joined #nimrod |
15:03:13 | * | DAddYE joined #nimrod |
15:07:08 | dom96 | Varriount: == nil? or isNil() |
15:09:46 | * | DAddYE quit (Ping timeout: 245 seconds) |
15:14:17 | * | dsrw joined #nimrod |
15:18:20 | * | io2 quit () |
15:18:37 | * | Endy quit (Ping timeout: 272 seconds) |
15:22:08 | * | Endy joined #nimrod |
15:32:07 | * | Associat0r quit (Read error: Connection reset by peer) |
15:33:21 | * | Associat0r joined #nimrod |
15:33:22 | * | Associat0r quit (Changing host) |
15:33:22 | * | Associat0r joined #nimrod |
15:42:50 | * | Associ8or joined #nimrod |
15:42:50 | * | Associ8or quit (Changing host) |
15:42:50 | * | Associ8or joined #nimrod |
15:43:39 | * | Associat0r quit (Ping timeout: 260 seconds) |
15:46:35 | * | Araq0 joined #nimrod |
15:47:03 | Araq0 | Hi |
15:47:40 | Araq0 | Come on be here |
15:49:18 | Varriount | Imposter! |
15:49:21 | dom96 | hi? |
15:49:37 | Varriount | What have you done with the real Araq!? |
15:49:58 | Araq0 | Gah how does pm work with this software |
15:50:16 | dom96 | /msg user blah |
16:01:36 | Araq0 | Varriount: answer on the forum please |
16:03:18 | * | gdos joined #nimrod |
16:06:10 | * | DAddYE joined #nimrod |
16:10:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
16:14:07 | * | Associat0r joined #nimrod |
16:14:08 | * | Associat0r quit (Changing host) |
16:14:08 | * | Associat0r joined #nimrod |
16:14:27 | * | Associ8or quit (Ping timeout: 260 seconds) |
16:14:43 | * | Araq0 quit (Quit: Bye) |
16:45:55 | * | fowl joined #nimrod |
16:48:01 | * | isenmann quit (Quit: Leaving.) |
17:00:52 | * | brson joined #nimrod |
17:05:01 | * | DAddYE joined #nimrod |
17:06:14 | * | DAddYE quit (Remote host closed the connection) |
17:06:54 | * | DAddYE joined #nimrod |
17:12:10 | * | Endy quit (Ping timeout: 246 seconds) |
17:17:46 | * | gdos quit (Ping timeout: 268 seconds) |
17:44:08 | * | Hannibal_Smith joined #nimrod |
17:59:47 | * | dyu quit (Quit: Leaving) |
18:12:15 | * | fowl_ joined #nimrod |
18:12:27 | * | fowl__ joined #nimrod |
18:12:29 | * | fowl_ quit (Client Quit) |
18:12:40 | * | fowl__ quit (Client Quit) |
18:15:26 | * | q66 joined #nimrod |
18:15:52 | reactormonk | dom96, what should `babel build` do exactly? |
18:16:45 | dom96 | run nimrod <backend> file.nim |
18:18:50 | reactormonk | how is file.nim defined? |
18:19:33 | dom96 | bin = "file.nim" |
18:19:55 | dom96 | er |
18:19:55 | dom96 | no |
18:20:01 | dom96 | without the .nim extension |
18:20:34 | reactormonk | with is fine |
18:21:11 | reactormonk | Araq, any way to create a master file for a lib without having to reexport all procs? |
18:22:59 | reactormonk | dom96, specifing bin more than once seems to work - is that the way to go? |
18:27:44 | dom96 | huh? |
18:29:27 | reactormonk | dom96, my lib has 6 files and each one exports procs |
18:29:46 | dom96 | why are you putting a 'bin' in a lib package? |
18:29:58 | reactormonk | dom96, so "lib" is the correct term? |
18:30:04 | dom96 | no |
18:30:06 | dom96 | what are you trying to do? |
18:30:08 | * | io2 joined #nimrod |
18:30:23 | fowl | oh dom96 is there a way to make nake both binary and library? |
18:31:40 | dom96 | yeah |
18:31:51 | dom96 | Just add a 'bin' but don't add 'skipExt = "nim"' |
18:31:57 | reactormonk | dom96, telling babel about my files. I've got 6 lib files, you have to be able to include each one of them. I can't really forward exports, can I? |
18:32:01 | dom96 | From babel's readme "Binary packages should not install .nim files so you should include SkipExt = "nim" in your .babel file, unless you intend for your package to be a binary/library combo which is fine." |
18:32:27 | dom96 | reactormonk: you don't tell babel about your files |
18:32:47 | fowl | dom96, thansk |
18:32:49 | dom96 | reactormonk: https://github.com/nimrod-code/babel#packages |
18:34:30 | reactormonk | dom96, kk. Should I still use the prefixes such as kwinclient.nim so kwin/kwinclient.nim or go for kwin/client.nim ? |
18:35:30 | dom96 | reactormonk: Araq fixed the problems with that so you don't have to use prefixes anymore. |
18:36:09 | reactormonk | kk |
18:37:50 | reactormonk | then import kwin/client etc. in my lib? |
18:38:26 | reactormonk | hm, kwin/*.nim doesn't get touched by babel build |
18:39:08 | dom96 | you shouldn't build your library |
18:40:07 | reactormonk | true. |
18:41:32 | reactormonk | https://github.com/reactormonk/nim-kwin good? |
18:42:42 | dom96 | yes |
19:04:59 | * | Associat0r quit (Ping timeout: 272 seconds) |
19:11:43 | reactormonk | dom96, is there a way to tell babel that I need -d:nodejs? |
19:12:17 | dom96 | echo "-d:nodejs" > file.nimrod.cfg |
19:12:32 | * | Associat0r joined #nimrod |
19:12:32 | * | Associat0r quit (Changing host) |
19:12:32 | * | Associat0r joined #nimrod |
19:21:00 | * | Endy joined #nimrod |
19:27:59 | * | ltbarcly joined #nimrod |
19:29:35 | * | dsrw_ joined #nimrod |
19:29:35 | * | dsrw quit (Read error: Connection reset by peer) |
19:31:19 | * | Associat0r quit (Ping timeout: 272 seconds) |
19:35:46 | * | Associat0r joined #nimrod |
19:41:59 | * | Endy quit (Ping timeout: 272 seconds) |
19:43:33 | * | Hannibal_Smith quit (Quit: Sto andando via) |
20:00:01 | * | Associat0r quit (Read error: Connection reset by peer) |
20:01:17 | * | Associat0r joined #nimrod |
20:18:53 | * | Associat0r quit (Ping timeout: 265 seconds) |
20:21:18 | * | BitPuffin joined #nimrod |
20:25:45 | * | Associat0r joined #nimrod |
20:25:45 | * | Associat0r quit (Changing host) |
20:25:46 | * | Associat0r joined #nimrod |
20:31:41 | * | EXetoC joined #nimrod |
20:39:59 | * | io2 quit () |
20:43:06 | * | wlhlm quit (Ping timeout: 245 seconds) |
20:59:33 | reactormonk | dom96, oops. |
22:15:18 | Araq | hi dsrw_ welcome (if you're new, I lost the overview) |
22:23:01 | * | EXetoC quit (Quit: WeeChat 0.4.2) |
22:38:06 | * | OrionPK joined #nimrod |
22:38:36 | Araq | OrionPK: the renderer renders the AST |
22:38:53 | Araq | but after semantic checking the AST doesn't contain the * export markers anymore |
22:39:48 | OrionPK | Araq ah.. okay |
22:39:55 | OrionPK | what about the pragmas? |
22:40:16 | Araq | what about them? |
22:40:25 | OrionPK | they're printed out for procs but not types |
22:40:33 | OrionPK | like if I have a {.final.} on it or something |
22:40:48 | Araq | interesting, I wasn't aware |
22:41:18 | Araq | but the explanation is the same; semantic checking modifies the AST |
22:41:35 | Araq | I patched it so that doc2 produces sane output |
22:41:50 | Araq | but didn't consider pragmas to be important |
22:41:55 | OrionPK | hmm |
22:42:02 | OrionPK | so how do I work around that? |
22:42:59 | Araq | check wither it's sfImportc or sfExportc in s.flags |
22:43:13 | Araq | and then s.loc.r contains the external name |
22:43:42 | OrionPK | I know if it's exported, but im more concerned about the pragmas |
22:46:05 | * | DAddYE quit (Remote host closed the connection) |
22:46:35 | * | DAddYE joined #nimrod |
22:50:35 | Araq | OrionPK: sorry I have to sleep now; but don't be concerned ;-) |
22:50:43 | OrionPK | lol |
22:50:55 | OrionPK | good night |
23:06:58 | reactormonk | Araq, http://www.reddit.com/r/nimrod/comments/1on08s/any_news/ |
23:12:18 | Varriount | We need a press release. "State of Nimrod" |
23:12:41 | Varriount | I've only been here for about a week. What major developments have happened in the intervening months? |
23:13:55 | OrionPK | just get weekly changelog updates pulled into the news feed on the website |
23:13:58 | * | kryton9 joined #nimrod |
23:14:24 | kryton9 | Hi guys, just checking to see what is new. |
23:14:54 | OrionPK | hello |
23:15:38 | kryton9 | Hi OrionPK |
23:16:05 | kryton9 | Are most of the guys here on the development team? |
23:16:27 | OrionPK | nope, most people here are lurkers and users |
23:16:45 | kryton9 | like me then |
23:16:55 | OrionPK | hehe |
23:17:08 | kryton9 | I got great help when I needed it however, so that is really nice |
23:17:09 | OrionPK | 3 or 4 'developers', and a handful more rare contributors |
23:17:40 | kryton9 | Once I get up to speed on Nimrod, I want to work on writing a 3d game engine in it |
23:17:52 | OrionPK | (and by developers I mean people who actually make nimrod, just about everyone here is a programmer) |
23:17:58 | kryton9 | But it will take me a while to get used to Nimrod |
23:18:07 | OrionPK | awesome! |
23:18:27 | kryton9 | It helps that there had been work in opengl to get me started |
23:18:30 | Varriount | Just be aware that, because of the small dev team, the compiler does have bugs. |
23:18:55 | Varriount | Like, for example, the noforward pragma crashing the compiler. >_< |
23:18:56 | kryton9 | That will all be worked out, the main thing is the beauty and power of the language |
23:18:59 | OrionPK | yep, it's still pre 1.0 |
23:19:25 | kryton9 | and it can compile to so many platforms, a dream language come true if you ask me |
23:20:18 | Varriount | Personally, I've been "watching" nimrod for quite a while (5 years now, I think?). The new website design is very encouraging. |
23:20:54 | kryton9 | I always search for new languages, I can't believe it was out so long and I didn't come across it till recently |
23:21:16 | kryton9 | The site is nice and there is lots of documentation |
23:21:21 | Varriount | I think Araq has been the lead developer for most of Nimrod's lifetime. |
23:21:21 | kryton9 | to get one started |
23:22:00 | kryton9 | For a small team in such a short time then it has really come along way |
23:22:14 | Varriount | "short time"? |
23:22:14 | fowl | what is "noforward" |
23:22:16 | OrionPK | afaik Araq is the original 'inventor' |
23:22:43 | fowl | oh |
23:22:50 | OrionPK | brbbrb |
23:22:53 | * | OrionPK quit (Read error: Connection reset by peer) |
23:23:07 | Varriount | fowl, the pragma that turns on experimental support for processing functions and such without needing forward declarations |
23:23:25 | Varriount | I may not have the exact name, but I think it's close. |
23:26:28 | dsrw_ | Araq: Sorry for the slow response. Yup, I'm new. I'm really excited about Nimrod. Just working my way through the basics right now. |
23:28:33 | kryton9 | I don't know if he is on, I think it is very late his time. |
23:29:40 | dsrw_ | Thanks kryton. |
23:30:05 | kryton9 | do you see 19:28 as your time stamp |
23:30:48 | kryton9 | left of your name when you post |
23:31:03 | kryton9 | mine now to me said 19:30 |
23:31:04 | dsrw_ | No, I'm an hour ahead of you. |
23:31:11 | dsrw_ | 20:31 here. |
23:31:45 | kryton9 | ok, I was looking through an old transcript and Arag is 6 hours ahead of me, so 5 from you |
23:33:54 | dsrw_ | Thanks. I expect to be a regular here, so I'm imagine I'll catch him another day. |
23:34:24 | kryton9 | Wow, I never ran into anyone an hour ahead, are you in Canada, Greenland or South America |
23:35:08 | kryton9 | Or some lovely island paradise |
23:35:46 | * | Varriount runs on Eastern time |
23:36:06 | kryton9 | I'm Eastern time too |
23:36:33 | kryton9 | * kryton9 |
23:36:49 | kryton9 | How did you get that output Varriount |
23:37:28 | Varriount | ./me |
23:37:34 | kryton9 | ./me |
23:37:41 | Varriount | Without the . |
23:37:56 | * | kryton9 |
23:38:04 | * | Varriount uses /me to talk about himself in third person. |
23:38:33 | * | kryton9 thinks that is cool |
23:39:12 | fowl | Varriount, was it you asking how to check if an object type is nil |
23:41:06 | kryton9 | going to get back to work, goodnight guys |
23:41:31 | * | kryton9 quit () |
23:44:22 | Varriount | fowl, yes. system.== didn't like my attempts to compare an object to nil. |
23:50:20 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
23:54:12 | fowl | Varriount, nil refers to pointers, not data like object types (containers) or int, float, etc |
23:55:49 | fowl | you can write an isNil() for your type to check if one of the fields is uninitialized |
23:55:55 | * | OrionPK joined #nimrod |
23:56:06 | fowl | type tperson = object name: string |
23:56:18 | fowl | proc isnil* (some: tperson): bool = some.name.isNil |
23:59:50 | * | dsrw_ quit (Remote host closed the connection) |