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:12 | FreeArtMan | fine |
05:24:18 | FreeArtMan | everything works ;] |
05:24:36 | FreeArtMan | ported 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:38 | Araq | hi FreeArtMan |
10:07:46 | Araq | what plugin did you port to nimrod? |
10:09:19 | FreeArtMan | xchat =D |
10:10:02 | FreeArtMan | new few fixes and the everything would be nice and shiny |
10:13:52 | Araq | is it finished and working? |
10:24:24 | FreeArtMan | working but need some fixes |
10:47:03 | Araq | cool cool |
10:55:55 | * | q66 joined #nimrod |
10:57:47 | fowl | FreeArtMan: i can take a look at it if you want |
11:53:41 | dom96 | good morning |
11:54:37 | Araq | hi dom96, good "morning" to you too :P |
11:54:56 | dom96 | It's still morning for the next 6 minutes here! |
11:55:15 | dom96 | So I got gcc working on RISC OS. The OS quite extraordinary. |
11:55:46 | * | Araq googles RISC OS |
11:56:00 | dom96 | *The OS is |
11:56:17 | dom96 | Apparently it was originally made in the UK :O |
12:03:21 | Araq | add risc os to platform.nim :-) |
12:04:40 | dom96 | yeah, I will attempt to get it working :P |
12:05:02 | dom96 | You think it will be difficult? |
12:05:16 | Araq | not really |
12:05:17 | dom96 | RISC OS uses cooperative multitasking. |
12:05:29 | Araq | lol |
12:05:30 | dom96 | instead of preemptive like all other OS' |
12:05:42 | Araq | like windows 3.1 |
12:06:13 | Araq | it's a bloody stupid idea but shouldn't matter much for the nimrod compiler |
12:16:42 | fowl | well at least PathSep has some use now |
12:17:36 | Araq | why? it's either '/' or '\' already ... |
12:18:05 | fowl | i thought it was / for windows too |
12:19:25 | Araq | well windows supports / (not in cmd.exe however) |
12:19:38 | Araq | and the nimrod stdlib is aware of that |
12:19:51 | Araq | so 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:12 | Araq | argh ... is anybody overloading a *binary* 'not' ? |
13:21:41 | dom96 | not me, why? |
13:21:57 | dom96 | it's a keyword, can you even overload it? |
13:22:07 | Araq | sure ;-) |
13:22:25 | Araq | well I need to disallow binary 'not' |
13:22:42 | dom96 | why? |
13:22:46 | Araq | for the new 'not nil' annotation |
13:23:03 | dom96 | i see. |
13:23:04 | Araq | ref T not nil |
13:23:08 | Araq | binds like: |
13:23:13 | Araq | ref (T not nil) |
13:24:05 | Araq | but 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:18 | dom96 | why? :( |
17:02:45 | Trixar_za | Of all the alternative OSes, you had to pick that one :P |
17:04:56 | Trixar_za | I dread the day you discover HelenOS or SparrowOS |
17:04:57 | Trixar_za | :P |
17:06:29 | Trixar_za | Yes, HelenOS is a microkernel OS |
17:07:20 | Trixar_za | Which 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:39 | gradha | The web page for the SparrowOs is amazing, it surely beats HelenOS web page, so it must be better |
19:15:44 | gradha | an OS with hymns, by god, how could other OSes have missed that feature? |
20:02:03 | Araq | I've no idea about OS kernel development but consider mircokernels stupid ;-) |
20:03:26 | gradha | you will love SparrowOS then, it has no memory protection between tasks, and that's a feature |
20:06:30 | Araq | "A complete OS with compiler built in 3 days, more or less." <-- that one? |
20:06:36 | gradha | hehe, yeah |
20:06:41 | gradha | read later, it took 9 years |
20:07:08 | gradha | everything seems to be a reference to the bible |
20:08:14 | gradha | somehow I miss guns and big texan hats, unless I missed them while browsing through the hymns |
20:22:34 | Araq | reading the FAQ of it |
20:22:45 | Araq | sounds interesting |
20:41:36 | * | fowl quit (Ping timeout: 255 seconds) |
20:46:27 | dom96 | Ubuntu Christian Edition ftw |
20:47:12 | gradha | haha, made me google this http://ubuntusatanic.org |
20:48:50 | * | dom96 should dual boot Ubuntu Christian Edition and Ubuntu Satanic Edition |
20:56:11 | gradha | I have a big problem with nimrod macros |
20:56:42 | * | XAMPP quit (Ping timeout: 244 seconds) |
20:57:04 | gradha | 1) 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:27 | gradha | 2) I don't even know why would I need macros, my brain lacking the experience with language providing this feature |
20:57:42 | gradha | does somebody have a "learn macros in 21 days" guide or something? |
20:59:51 | Araq | well there is all this stuff about Lisp's macros on the net ... |
21:01:01 | gradha | I've read several thousand of times stuff like "they provide the programmer with tools to manipulate the language itself" |
21:01:36 | Araq | well check out how to use the class macros that are floating around on the forums |
21:02:03 | Araq | it's a good example of what a macro can do |
21:02:20 | Araq | and afterwards you can read the macro's implementation |
21:04:52 | Araq | I didn't really consider the macro API stable btw but now it's hard to change it |
21:04:58 | Araq | :P |
21:05:31 | gradha | no sweet quick road to enlightnement then, huh? will note this on my todo list |
21:09:01 | Araq | I still want to write a book about it :P |
21:09:41 | gradha | I did buy Andrei Alexandrescu book on D 2.0, haven't read it yet, though... |
21:10:02 | gradha | I will buy yours too |
21:10:12 | Araq | yay; I have "modern C++ design" from him |
21:19:08 | Araq | btw how many pages is the D2.0 book? |
21:34:27 | gradha | didn't start yet, it's sitting on my "to read" queue |
21:35:13 | gradha | I 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:07 | gradha | I'm now into what I believe is my last economy book, then back to sci-fi/tech |
21:39:41 | gradha | Araq: ok, found it, it is 430 pages |
21:40:25 | gradha | yay, have a marker after the first foreword by Walter |
21:40:39 | gradha | will have to read it again |
21:42:09 | gradha | hmm... 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:07 | Araq | 430 pages ... no way I'll write that much |
21:48:37 | gradha | don't forget about code listings, that can bump the count a lot |
21:48:46 | Araq | I will however have the compiler's source code in an appendix |
21:51:47 | Araq | if we put 60 lines of code on a page, the appendix will only have 1000 pages :-) |
21:52:14 | gradha | that's a good deal if book writers are payed by weight |
22:08:39 | dom96 | Araq: Do we have a nice API on top of the "low-level" macro API yet? |
22:10:26 | dom96 | in fact, macros.nim still needs finished. |
22:10:43 | dom96 | the docs at least |
22:11:29 | Araq | fowl has a nice higher level api, but hasn't submitted it yet |
22:11:48 | dom96 | mm yeah. In fact I think someone else had one too. |
22:11:52 | Araq | (and I still don't like 'und' as a proc name...) |
22:13:58 | dom96 | However, zahary added some nice stuff it seems. |
22:14:29 | dom96 | Like ``emit``. |
23:05:42 | gradha | there'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:56 | gradha | or is it read from current shell directory? |
23:10:21 | gradha | a practical test shows its read from the current shell directory, not relative to the input source file, hmmm |
23:11:04 | gradha | will duplicate .cfg files at different paths then |
23:17:15 | dom96 | gradha: Are you sure? As far as I can see it's read from the source's directory |
23:17:43 | gradha | maybe it is, but then its relative paths don't match the current dir and modules are not imported correctly |
23:18:01 | gradha | I'm using .cfg files to specify additional path options |
23:18:13 | gradha | and those use relative paths, so maybe that's what is failing |
23:18:36 | gradha | my test goes like this |
23:18:39 | gradha | create directory |
23:18:46 | gradha | put something.nim and nimrod.cfg into there |
23:18:56 | gradha | nimrod.cfg has a relative path like "../../other/dir |
23:19:10 | gradha | go inside directory and run "nimrod c -r something.nim" |
23:19:13 | gradha | that works |
23:19:14 | gradha | now cd .. |
23:19:22 | gradha | nimrod c -r directory/something.nim |
23:19:27 | gradha | that fails with import not found |
23:21:20 | dom96 | perhaps nimrod should provide some sort of cfg variable which is basically replaced with the directory of the current source file |
23:21:44 | dom96 | hrm |
23:22:21 | dom96 | nah, that wouldn't work... "$srcDir/../../other/dir" would it? |
23:22:49 | dom96 | oh, no, it does. |
23:23:01 | gradha | Error: unhandled exception: invalid format string [EInvalidValue] |
23:23:10 | gradha | path="$srcDir/../../../nimrod_backend" |
23:23:16 | dom96 | yeah, well I mean... |
23:23:20 | dom96 | It's not implemented yet |
23:23:39 | dom96 | I was just wondering whether you can do: /home/dom/code/../code/../code/ |
23:24:39 | dom96 | And you can. |
23:25:06 | dom96 | So if that format string can be implemented. |
23:25:10 | dom96 | s/if// |
23:27:41 | gradha | goodnight |
23:27:46 | * | gradha quit (Quit: gradha) |