<< 17-10-2013 >>

00:00:46OrionPKthe 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:41OrionPKfowl 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:36fowlOrionPK, like idetools?
00:32:44OrionPKmaybe..
00:32:50OrionPKwhats it do?
00:33:08fowlim not sure lol
00:33:19OrionPKheh.. any idea how to call it?
00:33:30fowlnimrod --advanced has info on it
00:33:56OrionPKyeah
00:33:58OrionPKi'm looking at it
00:35:14OrionPKbut not really self explanatory how to actually call it
00:36:08fowli think aporia uses it
00:37:59OrionPKyeah
00:38:19OrionPKbut I dont think what I"m working on exists, per se
00:40:54OrionPKit'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:44VarriountAnyone know how to check if a variable is nil?
04:17:20VarriountAnd 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:08dom96Varriount: == 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:03Araq0Hi
15:47:40Araq0Come on be here
15:49:18VarriountImposter!
15:49:21dom96hi?
15:49:37VarriountWhat have you done with the real Araq!?
15:49:58Araq0Gah how does pm work with this software
15:50:16dom96/msg user blah
16:01:36Araq0Varriount: 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:52reactormonkdom96, what should `babel build` do exactly?
18:16:45dom96run nimrod <backend> file.nim
18:18:50reactormonkhow is file.nim defined?
18:19:33dom96bin = "file.nim"
18:19:55dom96er
18:19:55dom96no
18:20:01dom96without the .nim extension
18:20:34reactormonkwith is fine
18:21:11reactormonkAraq, any way to create a master file for a lib without having to reexport all procs?
18:22:59reactormonkdom96, specifing bin more than once seems to work - is that the way to go?
18:27:44dom96huh?
18:29:27reactormonkdom96, my lib has 6 files and each one exports procs
18:29:46dom96why are you putting a 'bin' in a lib package?
18:29:58reactormonkdom96, so "lib" is the correct term?
18:30:04dom96no
18:30:06dom96what are you trying to do?
18:30:08*io2 joined #nimrod
18:30:23fowloh dom96 is there a way to make nake both binary and library?
18:31:40dom96yeah
18:31:51dom96Just add a 'bin' but don't add 'skipExt = "nim"'
18:31:57reactormonkdom96, 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:01dom96From 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:27dom96reactormonk: you don't tell babel about your files
18:32:47fowldom96, thansk
18:32:49dom96reactormonk: https://github.com/nimrod-code/babel#packages
18:34:30reactormonkdom96, kk. Should I still use the prefixes such as kwinclient.nim so kwin/kwinclient.nim or go for kwin/client.nim ?
18:35:30dom96reactormonk: Araq fixed the problems with that so you don't have to use prefixes anymore.
18:36:09reactormonkkk
18:37:50reactormonkthen import kwin/client etc. in my lib?
18:38:26reactormonkhm, kwin/*.nim doesn't get touched by babel build
18:39:08dom96you shouldn't build your library
18:40:07reactormonktrue.
18:41:32reactormonkhttps://github.com/reactormonk/nim-kwin good?
18:42:42dom96yes
19:04:59*Associat0r quit (Ping timeout: 272 seconds)
19:11:43reactormonkdom96, is there a way to tell babel that I need -d:nodejs?
19:12:17dom96echo "-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:33reactormonkdom96, oops.
22:15:18Araqhi 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:36AraqOrionPK: the renderer renders the AST
22:38:53Araqbut after semantic checking the AST doesn't contain the * export markers anymore
22:39:48OrionPKAraq ah.. okay
22:39:55OrionPKwhat about the pragmas?
22:40:16Araqwhat about them?
22:40:25OrionPKthey're printed out for procs but not types
22:40:33OrionPKlike if I have a {.final.} on it or something
22:40:48Araqinteresting, I wasn't aware
22:41:18Araqbut the explanation is the same; semantic checking modifies the AST
22:41:35AraqI patched it so that doc2 produces sane output
22:41:50Araqbut didn't consider pragmas to be important
22:41:55OrionPKhmm
22:42:02OrionPKso how do I work around that?
22:42:59Araqcheck wither it's sfImportc or sfExportc in s.flags
22:43:13Araqand then s.loc.r contains the external name
22:43:42OrionPKI 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:35AraqOrionPK: sorry I have to sleep now; but don't be concerned ;-)
22:50:43OrionPKlol
22:50:55OrionPKgood night
23:06:58reactormonkAraq, http://www.reddit.com/r/nimrod/comments/1on08s/any_news/
23:12:18VarriountWe need a press release. "State of Nimrod"
23:12:41VarriountI've only been here for about a week. What major developments have happened in the intervening months?
23:13:55OrionPKjust get weekly changelog updates pulled into the news feed on the website
23:13:58*kryton9 joined #nimrod
23:14:24kryton9Hi guys, just checking to see what is new.
23:14:54OrionPKhello
23:15:38kryton9Hi OrionPK
23:16:05kryton9Are most of the guys here on the development team?
23:16:27OrionPKnope, most people here are lurkers and users
23:16:45kryton9like me then
23:16:55OrionPKhehe
23:17:08kryton9I got great help when I needed it however, so that is really nice
23:17:09OrionPK3 or 4 'developers', and a handful more rare contributors
23:17:40kryton9Once I get up to speed on Nimrod, I want to work on writing a 3d game engine in it
23:17:52OrionPK(and by developers I mean people who actually make nimrod, just about everyone here is a programmer)
23:17:58kryton9But it will take me a while to get used to Nimrod
23:18:07OrionPKawesome!
23:18:27kryton9It helps that there had been work in opengl to get me started
23:18:30VarriountJust be aware that, because of the small dev team, the compiler does have bugs.
23:18:55VarriountLike, for example, the noforward pragma crashing the compiler. >_<
23:18:56kryton9That will all be worked out, the main thing is the beauty and power of the language
23:18:59OrionPKyep, it's still pre 1.0
23:19:25kryton9and it can compile to so many platforms, a dream language come true if you ask me
23:20:18VarriountPersonally, I've been "watching" nimrod for quite a while (5 years now, I think?). The new website design is very encouraging.
23:20:54kryton9I 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:16kryton9The site is nice and there is lots of documentation
23:21:21VarriountI think Araq has been the lead developer for most of Nimrod's lifetime.
23:21:21kryton9to get one started
23:22:00kryton9For a small team in such a short time then it has really come along way
23:22:14Varriount"short time"?
23:22:14fowlwhat is "noforward"
23:22:16OrionPKafaik Araq is the original 'inventor'
23:22:43fowloh
23:22:50OrionPKbrbbrb
23:22:53*OrionPK quit (Read error: Connection reset by peer)
23:23:07Varriountfowl, the pragma that turns on experimental support for processing functions and such without needing forward declarations
23:23:25VarriountI may not have the exact name, but I think it's close.
23:26:28dsrw_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:33kryton9I don't know if he is on, I think it is very late his time.
23:29:40dsrw_Thanks kryton.
23:30:05kryton9do you see 19:28 as your time stamp
23:30:48kryton9left of your name when you post
23:31:03kryton9mine now to me said 19:30
23:31:04dsrw_No, I'm an hour ahead of you.
23:31:11dsrw_20:31 here.
23:31:45kryton9ok, I was looking through an old transcript and Arag is 6 hours ahead of me, so 5 from you
23:33:54dsrw_Thanks. I expect to be a regular here, so I'm imagine I'll catch him another day.
23:34:24kryton9Wow, I never ran into anyone an hour ahead, are you in Canada, Greenland or South America
23:35:08kryton9Or some lovely island paradise
23:35:46*Varriount runs on Eastern time
23:36:06kryton9I'm Eastern time too
23:36:33kryton9* kryton9
23:36:49kryton9How did you get that output Varriount
23:37:28Varriount./me
23:37:34kryton9./me
23:37:41VarriountWithout 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:12fowlVarriount, was it you asking how to check if an object type is nil
23:41:06kryton9going to get back to work, goodnight guys
23:41:31*kryton9 quit ()
23:44:22Varriountfowl, 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:12fowlVarriount, nil refers to pointers, not data like object types (containers) or int, float, etc
23:55:49fowlyou can write an isNil() for your type to check if one of the fields is uninitialized
23:55:55*OrionPK joined #nimrod
23:56:06fowltype tperson = object name: string
23:56:18fowlproc isnil* (some: tperson): bool = some.name.isNil
23:59:50*dsrw_ quit (Remote host closed the connection)