<<24-11-2012>>

00:26:26*q66 quit (Quit: Quit)
01:14:06*JStoker quit (Excess Flood)
01:35:54*JStoker joined #nimrod
04:35:27*FreeArtMan joined #nimrod
05:24:12FreeArtManfine
05:24:18FreeArtManeverything works ;]
05:24:36FreeArtManported some so plugin to nimrod
05:42:17*FreeArtMan quit (Read error: Operation timed out)
05:56:35*FreeArtMan joined #nimrod
06:24:00*FreeArtMan quit (Read error: Operation timed out)
08:18:45*XAMPP quit (Ping timeout: 244 seconds)
10:06:51*FreeArtMan joined #nimrod
10:07:38Araqhi FreeArtMan
10:07:46Araqwhat plugin did you port to nimrod?
10:09:19FreeArtManxchat =D
10:10:02FreeArtMannew few fixes and the everything would be nice and shiny
10:13:52Araqis it finished and working?
10:24:24FreeArtManworking but need some fixes
10:47:03Araqcool cool
10:55:55*q66 joined #nimrod
10:57:47fowlFreeArtMan: i can take a look at it if you want
11:53:41dom96good morning
11:54:37Araqhi dom96, good "morning" to you too :P
11:54:56dom96It's still morning for the next 6 minutes here!
11:55:15dom96So I got gcc working on RISC OS. The OS quite extraordinary.
11:55:46*Araq googles RISC OS
11:56:00dom96*The OS is
11:56:17dom96Apparently it was originally made in the UK :O
12:03:21Araqadd risc os to platform.nim :-)
12:04:40dom96yeah, I will attempt to get it working :P
12:05:02dom96You think it will be difficult?
12:05:16Araqnot really
12:05:17dom96RISC OS uses cooperative multitasking.
12:05:29Araqlol
12:05:30dom96instead of preemptive like all other OS'
12:05:42Araqlike windows 3.1
12:06:13Araqit's a bloody stupid idea but shouldn't matter much for the nimrod compiler
12:16:42fowlwell at least PathSep has some use now
12:17:36Araqwhy? it's either '/' or '\' already ...
12:18:05fowli thought it was / for windows too
12:19:25Araqwell windows supports / (not in cmd.exe however)
12:19:38Araqand the nimrod stdlib is aware of that
12:19:51Araqso in practice always using / is fine
12:26:12*silven_ joined #nimrod
12:26:51*silven quit (Ping timeout: 260 seconds)
12:30:32*silven joined #nimrod
12:30:53*silven_ quit (Ping timeout: 244 seconds)
13:21:12Araqargh ... is anybody overloading a *binary* 'not' ?
13:21:41dom96not me, why?
13:21:57dom96it's a keyword, can you even overload it?
13:22:07Araqsure ;-)
13:22:25Araqwell I need to disallow binary 'not'
13:22:42dom96why?
13:22:46Araqfor the new 'not nil' annotation
13:23:03dom96i see.
13:23:04Araq ref T not nil
13:23:08Araqbinds like:
13:23:13Araq ref (T not nil)
13:24:05Araqbut we need (ref T) not nil
13:32:26*NimBot_ quit (Read error: Connection reset by peer)
13:50:22*NimBot_ joined #nimrod
15:17:59*XAMPP joined #nimrod
15:17:59*XAMPP quit (Changing host)
15:17:59*XAMPP joined #nimrod
15:30:58*Vladar joined #nimrod
15:55:47*Trix[a]r_za is now known as Trixar_za
16:17:51*Trixar_za is now known as Trix[a]r_za
16:28:34*Trix[a]r_za is now known as Trixar_za
17:02:10*Trixar_za slaps dom96 for using RISC OS
17:02:18dom96why? :(
17:02:45Trixar_zaOf all the alternative OSes, you had to pick that one :P
17:04:56Trixar_zaI dread the day you discover HelenOS or SparrowOS
17:04:57Trixar_za:P
17:06:29Trixar_zaYes, HelenOS is a microkernel OS
17:07:20Trixar_zaWhich I both find fascinating and stupid at the same time :P Mostly because GNU has been failing at making their own for years
17:11:37*Trixar_za is now known as Trix[a]r_za
18:34:49*Roin quit (Quit: brb)
18:35:07*Roin joined #nimrod
18:35:07*Roin quit (Changing host)
18:35:07*Roin joined #nimrod
18:43:21*Vladar quit (Quit: Leaving)
18:53:34*gradha joined #nimrod
18:59:39gradhaThe web page for the SparrowOs is amazing, it surely beats HelenOS web page, so it must be better
19:15:44gradhaan OS with hymns, by god, how could other OSes have missed that feature?
20:02:03AraqI've no idea about OS kernel development but consider mircokernels stupid ;-)
20:03:26gradha you will love SparrowOS then, it has no memory protection between tasks, and that's a feature
20:06:30Araq"A complete OS with compiler built in 3 days, more or less." <-- that one?
20:06:36gradhahehe, yeah
20:06:41gradharead later, it took 9 years
20:07:08gradhaeverything seems to be a reference to the bible
20:08:14gradhasomehow I miss guns and big texan hats, unless I missed them while browsing through the hymns
20:22:34Araqreading the FAQ of it
20:22:45Araqsounds interesting
20:41:36*fowl quit (Ping timeout: 255 seconds)
20:46:27dom96Ubuntu Christian Edition ftw
20:47:12gradhahaha, made me google this http://ubuntusatanic.org
20:48:50*dom96 should dual boot Ubuntu Christian Edition and Ubuntu Satanic Edition
20:56:11gradhaI have a big problem with nimrod macros
20:56:42*XAMPP quit (Ping timeout: 244 seconds)
20:57:04gradha1) the documentation doesn't say how to write them, like what newIdentNode does and why would I need to know (but I think this is already known)
20:57:27gradha2) I don't even know why would I need macros, my brain lacking the experience with language providing this feature
20:57:42gradhadoes somebody have a "learn macros in 21 days" guide or something?
20:59:51Araqwell there is all this stuff about Lisp's macros on the net ...
21:01:01gradhaI've read several thousand of times stuff like "they provide the programmer with tools to manipulate the language itself"
21:01:36Araqwell check out how to use the class macros that are floating around on the forums
21:02:03Araqit's a good example of what a macro can do
21:02:20Araqand afterwards you can read the macro's implementation
21:04:52AraqI didn't really consider the macro API stable btw but now it's hard to change it
21:04:58Araq:P
21:05:31gradhano sweet quick road to enlightnement then, huh? will note this on my todo list
21:09:01AraqI still want to write a book about it :P
21:09:41gradhaI did buy Andrei Alexandrescu book on D 2.0, haven't read it yet, though...
21:10:02gradhaI will buy yours too
21:10:12Araqyay; I have "modern C++ design" from him
21:19:08Araqbtw how many pages is the D2.0 book?
21:34:27gradhadidn't start yet, it's sitting on my "to read" queue
21:35:13gradhaI tended to read sci-fi and tech books until Spain got into deep shit and I started reading about politcs and economics to understand better how we are all screwed
21:35:42*XAMPP joined #nimrod
21:35:42*XAMPP quit (Changing host)
21:35:42*XAMPP joined #nimrod
21:36:29*FreeArtMan quit (Ping timeout: 244 seconds)
21:37:07gradhaI'm now into what I believe is my last economy book, then back to sci-fi/tech
21:39:41gradhaAraq: ok, found it, it is 430 pages
21:40:25gradhayay, have a marker after the first foreword by Walter
21:40:39gradhawill have to read it again
21:42:09gradhahmm... actually the title doesn't say its D2.0, though I remember Andrei saying it was meant to be released along 2.0 of D, or something like that and there had been some delays
21:48:07Araq430 pages ... no way I'll write that much
21:48:37gradhadon't forget about code listings, that can bump the count a lot
21:48:46AraqI will however have the compiler's source code in an appendix
21:51:47Araqif we put 60 lines of code on a page, the appendix will only have 1000 pages :-)
21:52:14gradhathat's a good deal if book writers are payed by weight
22:08:39dom96Araq: Do we have a nice API on top of the "low-level" macro API yet?
22:10:26dom96in fact, macros.nim still needs finished.
22:10:43dom96the docs at least
22:11:29Araqfowl has a nice higher level api, but hasn't submitted it yet
22:11:48dom96mm yeah. In fact I think someone else had one too.
22:11:52Araq(and I still don't like 'und' as a proc name...)
22:13:58dom96However, zahary added some nice stuff it seems.
22:14:29dom96Like ``emit``.
23:05:42gradhathere's no compiler switch to specify a compilation .cfg option? is the .cfg always read from the same directory as the source file?
23:05:56gradhaor is it read from current shell directory?
23:10:21gradhaa practical test shows its read from the current shell directory, not relative to the input source file, hmmm
23:11:04gradhawill duplicate .cfg files at different paths then
23:17:15dom96gradha: Are you sure? As far as I can see it's read from the source's directory
23:17:43gradhamaybe it is, but then its relative paths don't match the current dir and modules are not imported correctly
23:18:01gradhaI'm using .cfg files to specify additional path options
23:18:13gradhaand those use relative paths, so maybe that's what is failing
23:18:36gradhamy test goes like this
23:18:39gradhacreate directory
23:18:46gradhaput something.nim and nimrod.cfg into there
23:18:56gradhanimrod.cfg has a relative path like "../../other/dir
23:19:10gradhago inside directory and run "nimrod c -r something.nim"
23:19:13gradhathat works
23:19:14gradhanow cd ..
23:19:22gradhanimrod c -r directory/something.nim
23:19:27gradhathat fails with import not found
23:21:20dom96perhaps nimrod should provide some sort of cfg variable which is basically replaced with the directory of the current source file
23:21:44dom96hrm
23:22:21dom96nah, that wouldn't work... "$srcDir/../../other/dir" would it?
23:22:49dom96oh, no, it does.
23:23:01gradhaError: unhandled exception: invalid format string [EInvalidValue]
23:23:10gradhapath="$srcDir/../../../nimrod_backend"
23:23:16dom96yeah, well I mean...
23:23:20dom96It's not implemented yet
23:23:39dom96I was just wondering whether you can do: /home/dom/code/../code/../code/
23:24:39dom96And you can.
23:25:06dom96So if that format string can be implemented.
23:25:10dom96s/if//
23:27:41gradhagoodnight
23:27:46*gradha quit (Quit: gradha)