<< 05-06-2013 >>

01:19:48*SirSkids|Cafe is now known as SirSkidmore
02:45:38*SirSkidmore is now known as SirSkids|Zzz
03:35:15*OnionPK joined #nimrod
03:41:38*OrionPK quit (Read error: Connection reset by peer)
03:41:39*greyfox1 quit (Ping timeout: 276 seconds)
03:44:01*greyfox1 joined #nimrod
03:49:36*ARCADIVS quit (Quit: WeeChat 0.3.8)
03:56:10reactormonkany way to give a compiler error description?
03:56:34reactormonk{.error.} works, but you can't pass a message
03:59:40reactormonkfowl, should I reopen that issue?
04:05:50fowlyea
04:05:53fowlyour example sucked btw
04:06:02reactormonkfowl, how so?
04:06:12fowl{.error: "fuck".}
04:06:22fowlits not polymorphic
04:06:29reactormonktest.nim(7, 10) Error: invalid pragma: error: "hello"
04:07:32reactormonkfowl, it only checks for the stuff that's used, not for implementation
04:07:49reactormonkif you don't use it, no check. Sounds reasonable to me.
04:08:17fowlyes but to do OO you have to have to have polymorphism
04:08:21fowlthats a must
04:08:25reactormonkpolymorphism?
04:08:40fowlvar x: TFoo = newBaz(); t1(x) should call t1() for TBaz
04:08:51fowlin your example it will call t1() for tfoo
04:09:09fowlbecause its a TBaz, stored as a TFoo
04:10:01*OnionPK quit (Quit: Leaving)
04:11:18reactormonkremove the second t1 call and run it
04:11:49fowlwhy
04:12:54fowlfoo2.t1 will be statically dispatched to t1(: Tfoo), yes
04:13:08fowlthats not useful for OOP though
04:13:14fowlyou simply have to use methods
04:13:20reactormonkworks with methods as well
04:14:49fowlhttps://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming
04:15:17fowlreactormonk, the behavior is not the same, static dispatch vs dynamic dispatch
04:15:30reactormonkfowl, the result is
04:16:00fowlok
04:16:04fowlafk
04:17:06fowlnot really, i just say that when i want to end a conversation
04:17:25*XAMPP__ quit (Read error: Connection reset by peer)
04:17:53*XAMPP__ joined #nimrod
06:17:56*q66 joined #nimrod
06:41:20*xcombelle joined #nimrod
07:19:08*Araq_ joined #nimrod
07:19:32*Araq_ quit (Client Quit)
07:36:20*Endeg joined #nimrod
08:00:20*xcombelle quit (Read error: Connection reset by peer)
08:08:55*q66 quit (Read error: Connection reset by peer)
08:09:03*q66 joined #nimrod
08:20:54*Araq_ joined #nimrod
08:32:02*amarsahinovic joined #nimrod
08:38:35*apotheon quit (Ping timeout: 252 seconds)
08:49:12*Araq_ quit (Read error: Connection timed out)
08:50:09*Araq_ joined #nimrod
08:56:32*Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])
08:59:19*amarsahinovic quit (Ping timeout: 264 seconds)
16:19:08*NimBot joined #nimrod
16:21:15dom96_ponce: i'm guessing gcc isn't in your PATH?
16:26:54dom96or it's that weird Windows bug, but I thought that was fixed.
17:00:41*Zor quit (*.net *.split)
17:00:50*SirSkidmore quit (*.net *.split)
17:00:50*JStoker quit (*.net *.split)
17:00:52*reactormonk quit (*.net *.split)
17:00:53*Endeg quit (*.net *.split)
17:00:54*XAMPP__ quit (*.net *.split)
17:00:56*tangentstorm quit (*.net *.split)
17:00:56*Trix[a]r_za quit (*.net *.split)
17:00:56*apotheon quit (*.net *.split)
17:00:56*q66 quit (*.net *.split)
17:00:58*Amrykid quit (*.net *.split)
17:00:58*Araq_bnc_ quit (*.net *.split)
17:00:58*dom96 quit (*.net *.split)
17:00:59*fowl quit (*.net *.split)
17:01:02*phoquer quit (*.net *.split)
17:01:03*Endy quit (*.net *.split)
17:01:04*mal`` quit (*.net *.split)
17:01:05*comex quit (*.net *.split)
17:01:07*tymat quit (*.net *.split)
17:01:12*Reiser quit (*.net *.split)
17:01:12*Roin quit (*.net *.split)
17:01:13*_ponce quit (*.net *.split)
17:01:13*zahary__ quit (*.net *.split)
17:01:14*greyfox1 quit (*.net *.split)
17:01:14*Boscop quit (*.net *.split)
17:01:15*silven quit (*.net *.split)
17:01:19*Raynes quit (*.net *.split)
17:09:29*Zor_ joined #nimrod
17:09:29*phoquer joined #nimrod
17:09:29*Endy joined #nimrod
17:09:29*mal`` joined #nimrod
17:09:29*JStoker joined #nimrod
17:09:29*Amrykid joined #nimrod
17:09:29*Araq_bnc_ joined #nimrod
17:09:29*Roin joined #nimrod
17:09:29*Reiser joined #nimrod
17:09:29*silven joined #nimrod
17:09:29*tymat joined #nimrod
17:09:29*fowl joined #nimrod
17:09:29*comex joined #nimrod
17:09:29*Raynes joined #nimrod
17:09:29*Boscop joined #nimrod
17:09:29*greyfox1 joined #nimrod
17:09:29*XAMPP__ joined #nimrod
17:09:29*Endeg joined #nimrod
17:09:29*q66 joined #nimrod
17:09:29*apotheon joined #nimrod
17:09:29*Trix[a]r_za joined #nimrod
17:09:29*reactormonk joined #nimrod
17:09:29*zahary__ joined #nimrod
17:09:29*tangentstorm joined #nimrod
17:09:29*_ponce joined #nimrod
17:09:29*dom96 joined #nimrod
17:09:29*SirSkidmore joined #nimrod
17:26:07*Araq_bnc_ is now known as Araq
18:34:53reactormonkAraq, hm. Can I gather the exceptions at compile-type and enum them? In the end, I have to pass around exceptions as pointers to progmem, which need to be read with specific procedures... or could I allocate a static address for exceptions? Which contain a pointer to progmem and the typedesc
18:57:34*Endy quit (Ping timeout: 256 seconds)
19:14:46*NimBot joined #nimrod
19:15:49dom96yay: https://bugzilla.redhat.com/show_bug.cgi?id=971059
19:27:16Araqreactormonk: I told you at least twice how it can be done and no, you can't iterate over every exception type at compile time, there are times when you need to do *work*
19:34:20reactormonkAraq, let's see
19:35:00Araqand yeah the compiler needs to be patched to accept ptr instead of ref for exceptions
19:35:21AraqI can do it but I'm not sure whether that should depend on --os:standalone or not
19:36:29reactormonkAraq, oh, I think I alreay did that part
19:57:41Araqreactormonk: do you even have setjmp/longjmp?
19:57:50Araqbecause otherwise exceptions can't work ...
19:59:14reactormonkAraq, yep, they exist
19:59:23Araqwow
20:01:10reactormonkhttp://www.nongnu.org/avr-libc/user-manual/group__setjmp.html
20:03:58*ARCADIVS joined #nimrod
20:38:35reactormonkAraq, the nasty part is that you can't store structs in progmem - only primitive types. :-(
20:39:08Araqwhy not?
20:39:25reactormonkwait.
20:41:35reactormonkI'd have to read and cast it. Should be possible.
21:21:53apotheonIs anyone building a Nimrod shell?
21:22:59reactormonkapotheon, like nimrod i?
21:25:17apotheonI don't know. What's "nimrod i"?
21:25:35Araqnimrod's shabby REPL
21:26:07apotheonOh. No, I mean like something designed to actually work as an interactive command shell.
21:26:20apotheone.g. "nimsh"
21:26:52fowlwould it speak sh
21:27:14apotheon. . . ?
21:27:24fowlthe language that shells speak
21:27:36fowlso you can do shit like ./configure --prefix=$PREFIX
21:27:43apotheonI don't think shells speak languages.
21:27:49fowlyou dont think sh is a language?
21:28:00apotheonah
21:28:03fowl#!/bin/sh <- this is useless?
21:28:07apotheonYou're using words in a weird way.
21:28:21apotheonMost shells don't speak sh, in that sense.
21:28:30apotheonF'rinstance, tcsh speaks tcsh, not sh.
21:28:53fowlyea but who uses tcsh
21:28:54apotheon. . . but yeah, presumably a shell would "speak" a shell language.
21:29:06apotheonWho uses sh for other than scripts?
21:29:18apotheonMost people use tcsh, bash, mksh, zsh, et cetera.
21:29:41dom96apotheon: As far as I know the answer is "no".
21:29:43apotheon. . . which "speak" tcsh, bash, mksh, zsh, et cetera, respectively.
21:29:47apotheondom96: Thanks.
21:30:27apotheonI wonder if it would be reasonable to implement as basically a dynamic preprocessor thingie wrapped around the REPL.
21:30:34apotheonProbably not.
21:31:25fowlapotheon, though your shell is probably never going to speak to you, you can still say it speaks (communicates) a language
21:31:51fowlcall my words weird and i'll call you some weird words >:(
21:32:06apotheonFeel free.
21:44:04_ponce<dom96> [18:11:55] _ponce: i'm guessing gcc isn't in your PATH? < silly me I thought that was only nevessary for the first step
21:44:07_poncethanks
21:44:10_ponceworks now
21:44:18fowli want to write something in nimrod that i can monetize off
21:44:24fowls/want/need
21:47:54dom96I want to as well. Time and good ideas are the two problems that I have.
21:48:09dom96s/good ideas/lack of good ideas/
21:49:13fowli have time but no ideas
21:49:18fowl:<
21:52:00dom96what about things that you would like to use but they don't exist? or they exist but they suck?
21:58:21fowli have an idea for an animation tool but a lot of game devs i talk to aren't interested in it
22:01:12_ponceI have an idea but it would be the same as work, so I'm not allowed to :p
22:39:35*OrionPK joined #nimrod
22:46:46*Zor_ is now known as Zor
23:13:39*DAddYE joined #nimrod
23:17:45dom96hi DAddYE
23:17:55DAddYEhi dom96
23:31:30*q66 quit (Remote host closed the connection)
23:39:49dom96good night
23:49:35*Amrykid quit (Changing host)
23:49:35*Amrykid joined #nimrod