<<05-05-2013>>

10:57:20*NimBot joined #nimrod
10:58:11dom96Araq: I guess you know that htmlgen doesn't compile with the newparser branch?
12:20:08Araqindeed I know
13:28:27*Trixar_za is now known as Trix[a]r_za
13:35:53*Trix[a]r_za is now known as Trixar_za
13:52:10*Trixar_za is now known as Trix[a]r_za
14:00:33*xcombelle joined #nimrod
14:03:07*xcombelle quit (Read error: Operation timed out)
14:04:31*xcombelle joined #nimrod
14:29:30*OrionPK joined #nimrod
16:32:13*fowl quit (Ping timeout: 245 seconds)
16:44:17*fowl joined #nimrod
16:48:55*zahary joined #nimrod
16:53:09zaharygradha, I've pushed some major updates to the compiler and nimrod.vim. I'm upgrading the caas featuers status to "works on my machine" :)
16:53:58zaharycan you do some more serious testing? basically, it should just work as long as you have a nimrod.cfg file with mainmodule: "project.nim" inside
16:55:51zaharythere is a new command :NimLog for opening the log now
16:56:33*zahary quit (Quit: Leaving.)
17:13:16*Endy quit (Ping timeout: 256 seconds)
18:20:28Araqhuh? zahary closed bugs without pushing anything?
18:58:13*Boscop quit (Read error: Connection reset by peer)
18:58:45*Boscop joined #nimrod
19:00:43*xcombelle quit (Remote host closed the connection)
19:09:43*zahary joined #nimrod
19:12:11*gradha joined #nimrod
19:15:10Araqzahary: just push to master, I'll merge again ... this enforced void context may still take a while ... (now new codegen errors)
19:37:05*Endy joined #nimrod
19:45:20*Endy quit (Ping timeout: 256 seconds)
19:46:51gradhaAraq: you said that http://forum.nimrod-code.org/t/149 doesn't work because I need to bootstrap?
19:47:26dom96gradha: You need new C sources.
19:47:34dom96IIRC
19:47:44gradhaI tried to get those from build but they didn't work
19:49:13gradhathe ones from build have paths like linux-x86/nimrod_7aea07fa4f21_csources/
19:49:31gradhaI tried to trim them and replace the other ones but build.sh would stop on missing files
19:50:04gradhamaybe I forgot to replace the build.sh, will try again
19:51:33dom96hrm, let me see
19:54:58dom96gradha: The C Sources build for me.
19:55:38dom96.. or not
19:55:50gradhayou are so schroedinger
19:56:20gradhait seems I forgot to replace build.sh, it's crunching now
19:56:41dom96It needs a bin/ dir.
19:56:46dom96Then it succeeds.
19:57:10gradhaI have a root/bin dir
19:57:17gradhayou mean a root/build/bin dir?
19:57:25dom96 no
20:02:22gradhafinally, new shiny compiler
20:02:53Araqexcept that it breaks too much code for now :P
20:02:57gradhasince the boostrap instructions already require wget/curl, maybe the build.sh script should get the sources form build and so the git repo could remove the file?
20:03:09Araqomg ... not again
20:03:18Araqwe keep changing the build instructions
20:03:23AraqI don't like that
20:04:43Araqbut then you're right
20:05:00Araqthe build scripts need to be bundled with the generated C code
20:05:32Araqthey are not in any way generic ...
20:06:44Araqwe also need to finally prune history to make the repo small
20:08:53gradhasince I'm late, what where the previous conclusions about build.sh getting the csources.zip?
20:13:34Araqwell build.sh is about compiling the C files so that you get a first working compiler
20:13:46Araqthen you can compile koch and bootstrap with that
20:13:58Araqbuild.sh is not about downloading stuff or installation
20:15:32gradhakoch refreshCSources
20:15:54Araqsomething like that exists but it doesn't work on windows unless you use the mingw shell
20:16:29Araqthere is 'koch update'
20:16:54gradhathe description doesn't imply fetching csources from build
20:17:08gradhasince git has other csources
20:17:32Araqtrue ... nimbuild didn't exist back then I think
20:18:29gradhasince this is all about binary files, maybe provide a precompiled koch which autodetects stale csources.zip and updates it?
20:23:10Araqprecompiling koch for mac requires a mac builder etc.
20:24:36gradhakoch.js, the next generation
20:24:40Araqthe current way is not too bad: bare bones shell script to get you off the ground (shell scripting sucks) and then you have a binary to do the real work
20:45:31*gradha quit (Ping timeout: 264 seconds)
20:46:02*gradha joined #nimrod
20:51:52reactormonkAraq, I can help with a bit of shell hacking... next week ;-)
20:52:43Araqreactormonk: really? we require posix shell here ... :P no bashisms
20:54:16*gradha quit (Ping timeout: 256 seconds)
20:54:36*gradha joined #nimrod
20:54:48Araqand it needs to work on windows too anyway
20:55:19AraqI wanted to create a Nimrod to sh|bat compiler once :P
20:58:06gradhahow does a shell script work on windows? does windows7 ship with bash now?
20:58:55zaharythere are download capabilities in powershell
20:59:22gradhaif you want to support xp that's not available
20:59:30zaharywhat kind of scripts do we need btw? isn't this a 4-line bootstrap script?
20:59:38gradhathere should be about 1 year or less of support now for xp
21:02:09reactormonkAraq, hmm, why not bash?
21:02:22fowlAraq: i fixed my PR
21:02:49Araqubuntu for instance used to use 'dash' as the default shell
21:04:16Araqgradha: and yet .bat suffices
21:04:37Araqwhy change it to something that requires more dependencies?
21:05:41gradhaI believe this discussion has gone terribly wrong, we were discussing pink unicorns in the new website design
21:06:22dom96IIRC the install.sh script that is generated needs some fixes to be more friendly for package creation
21:06:50*Trix[a]r_za is now known as Trixar_za
21:09:00dom96Someone could fix that and create a rpmcreation.nim for niminst (ala debcreation: https://github.com/Araq/Nimrod/blob/master/tools/niminst/debcreation.nim)
21:19:18*zahary quit (Ping timeout: 264 seconds)
21:38:18gradhaI think I found an inconsistency in idetools
21:38:32gradhafor an skProc I get as the third column "system.Open"
21:38:47gradhafor an skEnumField I get "TFileMode.fmWrite"
21:38:54gradhaI think I should be getting "system.TFileMode.fmWrite"
21:39:40gradhado I create an issue for that or learn to live with it? I can still get the name of the module from the colum with the file path
21:42:35gradhait would be interesting to know what happens when I "import foo/bar", would I get "foo.bar.TFileMode.fmWrite"?
21:42:51Araqno you wouldn't
21:43:04Araqthe path is not part of the module's name
21:43:50Araqand hmm I suppose we could return system.TFileMode.fmWrite but then it that really importantß
21:43:52Araq?
21:44:59gradhaI'm parsing the output to find what modules stuff comes to hyperlink docs, but I don't get it for enums
21:44:59gradhaI'm adding a conditional now, but it would be nice to not have to check that case
21:46:28gradhanice, didn't know you could unbox tuples in var lines with parenthesis
21:48:17Araqwell fix it then instead of working around
21:48:33gradhascary stuff
21:48:42gradhawhere would I start?
21:49:06Araqcompiler/suggest.nim
21:49:16Araqline 23 SymToStr
21:49:35Araqit actually doesn't do $module.$symbol
21:49:41Araqbut $owner.$symbol
21:49:47Araqas you can see
21:49:53reactormonkdom96, and pkgbuildcreation? ;-)
21:50:16Araqso the compiler is in fact consistent
21:50:41gradhamaybe then $owner is wrong in that it loses it's hierarchy?
21:51:11Araqwell it's a bit arbitrary
21:51:28Araqbut then filename could be an include file so that doesn't give you the module name either
21:51:39gradhaif there is system.TFileMode and I define my own TFileMode that will work right? I can still use the full path to get the system enum
21:51:49Araqyeah
21:52:05gradhain that case you would need to differentiate both for idetools anyway
21:52:11Araqso I guess it should output the full ownership path
21:57:13dom96reactormonk: sure :P
21:59:32reactormonkdom96, shouldn't be too hard.
22:01:16dom96reactormonk: do it!
22:03:47gradhanice, I'm listening now to the soundtrack of a source code I wrote
22:08:48gradhadom96: after I'm done hyperlinking everything I want to write an article about the awesomeness of idetools, will you host it on your blog for redditing?
22:14:17dom96sure, but I will need to set up a blog first...
22:14:26dom96unless you just want me to host some html for you?
22:14:32gradhaI thought you already had some?
22:15:36gradhaI remember reading through some empty one post blog of yours... maybe in another parallel universe
22:16:28dom96hrm, maybe you're talking about my old blogspot blog?
22:16:40gradharings a bell, black background?
22:16:45dom96yeah
22:19:04gradhaI have the urge now to name a module with a unicode character
22:19:51gradhaI guess ? won't work at all
22:20:16dom96well I was planning on setting up a new blog, i'm not too proud of my old one to be honest :P
22:20:42gradhais it better to have tens of one post blogs than one with irregular frequency?
22:21:16gradhamaybe you just like setting blogs
22:21:27dom96nah, I just got annoyed at blogspot.
22:22:03*Trixar_za is now known as Trix[a]r_za
22:28:45*Mathnerd626 quit (Ping timeout: 276 seconds)
22:39:20*gradha quit (Quit: bbl, have youtube videos to watch)
23:18:53*q66 quit (Remote host closed the connection)