10:57:20 | * | NimBot joined #nimrod |
10:58:11 | dom96 | Araq: I guess you know that htmlgen doesn't compile with the newparser branch? |
12:20:08 | Araq | indeed 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:09 | zahary | gradha, 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:58 | zahary | can 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:51 | zahary | there 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:28 | Araq | huh? 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:10 | Araq | zahary: 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:51 | gradha | Araq: you said that http://forum.nimrod-code.org/t/149 doesn't work because I need to bootstrap? |
19:47:26 | dom96 | gradha: You need new C sources. |
19:47:34 | dom96 | IIRC |
19:47:44 | gradha | I tried to get those from build but they didn't work |
19:49:13 | gradha | the ones from build have paths like linux-x86/nimrod_7aea07fa4f21_csources/ |
19:49:31 | gradha | I tried to trim them and replace the other ones but build.sh would stop on missing files |
19:50:04 | gradha | maybe I forgot to replace the build.sh, will try again |
19:51:33 | dom96 | hrm, let me see |
19:54:58 | dom96 | gradha: The C Sources build for me. |
19:55:38 | dom96 | .. or not |
19:55:50 | gradha | you are so schroedinger |
19:56:20 | gradha | it seems I forgot to replace build.sh, it's crunching now |
19:56:41 | dom96 | It needs a bin/ dir. |
19:56:46 | dom96 | Then it succeeds. |
19:57:10 | gradha | I have a root/bin dir |
19:57:17 | gradha | you mean a root/build/bin dir? |
19:57:25 | dom96 | no |
20:02:22 | gradha | finally, new shiny compiler |
20:02:53 | Araq | except that it breaks too much code for now :P |
20:02:57 | gradha | since 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:09 | Araq | omg ... not again |
20:03:18 | Araq | we keep changing the build instructions |
20:03:23 | Araq | I don't like that |
20:04:43 | Araq | but then you're right |
20:05:00 | Araq | the build scripts need to be bundled with the generated C code |
20:05:32 | Araq | they are not in any way generic ... |
20:06:44 | Araq | we also need to finally prune history to make the repo small |
20:08:53 | gradha | since I'm late, what where the previous conclusions about build.sh getting the csources.zip? |
20:13:34 | Araq | well build.sh is about compiling the C files so that you get a first working compiler |
20:13:46 | Araq | then you can compile koch and bootstrap with that |
20:13:58 | Araq | build.sh is not about downloading stuff or installation |
20:15:32 | gradha | koch refreshCSources |
20:15:54 | Araq | something like that exists but it doesn't work on windows unless you use the mingw shell |
20:16:29 | Araq | there is 'koch update' |
20:16:54 | gradha | the description doesn't imply fetching csources from build |
20:17:08 | gradha | since git has other csources |
20:17:32 | Araq | true ... nimbuild didn't exist back then I think |
20:18:29 | gradha | since this is all about binary files, maybe provide a precompiled koch which autodetects stale csources.zip and updates it? |
20:23:10 | Araq | precompiling koch for mac requires a mac builder etc. |
20:24:36 | gradha | koch.js, the next generation |
20:24:40 | Araq | the 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:52 | reactormonk | Araq, I can help with a bit of shell hacking... next week ;-) |
20:52:43 | Araq | reactormonk: 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:48 | Araq | and it needs to work on windows too anyway |
20:55:19 | Araq | I wanted to create a Nimrod to sh|bat compiler once :P |
20:58:06 | gradha | how does a shell script work on windows? does windows7 ship with bash now? |
20:58:55 | zahary | there are download capabilities in powershell |
20:59:22 | gradha | if you want to support xp that's not available |
20:59:30 | zahary | what kind of scripts do we need btw? isn't this a 4-line bootstrap script? |
20:59:38 | gradha | there should be about 1 year or less of support now for xp |
21:02:09 | reactormonk | Araq, hmm, why not bash? |
21:02:22 | fowl | Araq: i fixed my PR |
21:02:49 | Araq | ubuntu for instance used to use 'dash' as the default shell |
21:04:16 | Araq | gradha: and yet .bat suffices |
21:04:37 | Araq | why change it to something that requires more dependencies? |
21:05:41 | gradha | I believe this discussion has gone terribly wrong, we were discussing pink unicorns in the new website design |
21:06:22 | dom96 | IIRC 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:00 | dom96 | Someone 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:18 | gradha | I think I found an inconsistency in idetools |
21:38:32 | gradha | for an skProc I get as the third column "system.Open" |
21:38:47 | gradha | for an skEnumField I get "TFileMode.fmWrite" |
21:38:54 | gradha | I think I should be getting "system.TFileMode.fmWrite" |
21:39:40 | gradha | do 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:35 | gradha | it would be interesting to know what happens when I "import foo/bar", would I get "foo.bar.TFileMode.fmWrite"? |
21:42:51 | Araq | no you wouldn't |
21:43:04 | Araq | the path is not part of the module's name |
21:43:50 | Araq | and hmm I suppose we could return system.TFileMode.fmWrite but then it that really importantß |
21:43:52 | Araq | ? |
21:44:59 | gradha | I'm parsing the output to find what modules stuff comes to hyperlink docs, but I don't get it for enums |
21:44:59 | gradha | I'm adding a conditional now, but it would be nice to not have to check that case |
21:46:28 | gradha | nice, didn't know you could unbox tuples in var lines with parenthesis |
21:48:17 | Araq | well fix it then instead of working around |
21:48:33 | gradha | scary stuff |
21:48:42 | gradha | where would I start? |
21:49:06 | Araq | compiler/suggest.nim |
21:49:16 | Araq | line 23 SymToStr |
21:49:35 | Araq | it actually doesn't do $module.$symbol |
21:49:41 | Araq | but $owner.$symbol |
21:49:47 | Araq | as you can see |
21:49:53 | reactormonk | dom96, and pkgbuildcreation? ;-) |
21:50:16 | Araq | so the compiler is in fact consistent |
21:50:41 | gradha | maybe then $owner is wrong in that it loses it's hierarchy? |
21:51:11 | Araq | well it's a bit arbitrary |
21:51:28 | Araq | but then filename could be an include file so that doesn't give you the module name either |
21:51:39 | gradha | if 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:49 | Araq | yeah |
21:52:05 | gradha | in that case you would need to differentiate both for idetools anyway |
21:52:11 | Araq | so I guess it should output the full ownership path |
21:57:13 | dom96 | reactormonk: sure :P |
21:59:32 | reactormonk | dom96, shouldn't be too hard. |
22:01:16 | dom96 | reactormonk: do it! |
22:03:47 | gradha | nice, I'm listening now to the soundtrack of a source code I wrote |
22:08:48 | gradha | dom96: 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:17 | dom96 | sure, but I will need to set up a blog first... |
22:14:26 | dom96 | unless you just want me to host some html for you? |
22:14:32 | gradha | I thought you already had some? |
22:15:36 | gradha | I remember reading through some empty one post blog of yours... maybe in another parallel universe |
22:16:28 | dom96 | hrm, maybe you're talking about my old blogspot blog? |
22:16:40 | gradha | rings a bell, black background? |
22:16:45 | dom96 | yeah |
22:19:04 | gradha | I have the urge now to name a module with a unicode character |
22:19:51 | gradha | I guess ? won't work at all |
22:20:16 | dom96 | well I was planning on setting up a new blog, i'm not too proud of my old one to be honest :P |
22:20:42 | gradha | is it better to have tens of one post blogs than one with irregular frequency? |
22:21:16 | gradha | maybe you just like setting blogs |
22:21:27 | dom96 | nah, 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) |