jer | prologic, yeah i'm aware it's done by inheritance, that's the example i outlined. | 00:20 |
---|---|---|
jer | zephyrtronium, it's an empty object just like any other, it's not explicitly a number, it's just been configured to look up against a number | 00:20 |
jer | it's a very subtle distinction | 00:20 |
jer | clone produces empty objects that inherently are not coupled to any other object EXCEPT that we configure them post-creation to insert the receiver of the clone message into the protos list at index 0 | 00:21 |
jer | this is how inheritance works in io | 00:21 |
jer | this is how io implements differential inheritance | 00:21 |
jer | it delegates EVERY message send to its protos list, first match wins, we process the list depth first | 00:22 |
jer | only in ways it is different from its protos will it store locally | 00:22 |
*** jfischoff has joined #io | 00:44 | |
*** benzrf has joined #io | 01:02 | |
benzrf | hello | 01:02 |
benzrf | is anybody online? | 01:02 |
benzrf | ever? | 01:02 |
*** jfischoff has quit IRC | 01:04 | |
Raimondi | benzrf: if you have a question about Io then just ask it | 01:21 |
benzrf | oh | 01:28 |
benzrf | one sec | 01:28 |
benzrf | I know very little io | 01:28 |
benzrf | i tried to make a simple implementation of dynamically scoped methods, how does this look -> http://bpaste.net/show/viQK4KOLMOnkXTL3pmX4/ | 01:28 |
zephyrtronium | jer: https://github.com/stevedekorte/io/blob/master/libs/iovm/source/IoNumber.c#L213 this is what i am looking at | 01:44 |
zephyrtronium | i wasn't asking how it knows where to get *, i was asking how it knows the numeric value of y | 01:44 |
*** jfischoff has joined #io | 02:32 | |
*** gatesphere has joined #io | 03:05 | |
prologic | jer, hehe it's okay :) | 04:24 |
prologic | I was just replying to backlog | 04:24 |
prologic | and didn't read your entries until after :) | 04:24 |
benzrf | prologic: who is jer? | 04:25 |
prologic | zephyrtronium, I believe when you clone an object with a cacehd primitive value (e.g: number, string, symbol, etc) that also gets copied | 04:25 |
prologic | benzrf, an ex-core dev of 10+ years in Io | 04:26 |
prologic | :) | 04:26 |
prologic | jer, hi :) | 04:26 |
benzrf | 20:28 < benzrf> I know very little io | 04:26 |
benzrf | 20:28 < benzrf> i tried to make a simple implementation of dynamically scoped methods, how does this look -> http://bpaste.net/show/viQK4KOLMOnkXTL3pmX4/ | 04:26 |
prologic | yeah I just read your code snippet | 04:28 |
prologic | I'm not really srue what that does :) | 04:28 |
benzrf | OK | 04:28 |
prologic | just be reading it | 04:28 |
prologic | afaik you can dynamically change the scope of blocks anyway | 04:28 |
prologic | there's hardly a reason to wrap that up in a method | 04:28 |
prologic | and all you're doing (afaik) is just calling doInContext(some_obj) | 04:28 |
prologic | try writing a program in Io instead :) | 04:28 |
benzrf | ive never felt the urge >.> | 04:29 |
benzrf | well this does it automatically by caller | 04:29 |
prologic | then why bother doing anything in Io :) | 04:29 |
benzrf | to see if i can grok the crazy metaprogramming | 04:29 |
benzrf | :-D | 04:29 |
prologic | right :) | 04:29 |
benzrf | i normally dont bother doing | 04:29 |
benzrf | 'real programming' | 04:30 |
prologic | well in this case it's called homiconicity | 04:30 |
prologic | ast is a data structure | 04:30 |
benzrf | *in non mainstream languages | 04:30 |
benzrf | prologic: im ware of homoiconicity | 04:30 |
benzrf | *aware | 04:30 |
prologic | oh well | 04:30 |
prologic | that's why Io isn't mainstream then | 04:30 |
benzrf | are you sure it's exactly homoiconic? | 04:30 |
benzrf | :p | 04:30 |
prologic | because you don't even try to make it mainstream :) | 04:30 |
benzrf | aw | 04:30 |
prologic | :) | 04:30 |
prologic | catch 22 :) | 04:30 |
prologic | yes | 04:30 |
prologic | Io is homiconic | 04:30 |
prologic | as is smalltalk | 04:31 |
prologic | mio | 04:31 |
prologic | scheme | 04:31 |
benzrf | it just doesnt feel as polishedly pleasant to use as python or ruby | 04:31 |
prologic | and a few others | 04:31 |
prologic | try http://mio-lang.org/ then :) | 04:31 |
benzrf | i normally think of homoiconicity as meaning that code and data are identical | 04:31 |
benzrf | which is not exactly true of io | 04:31 |
prologic | well that's just another way of putting it yes | 04:31 |
*** gatesphere has quit IRC | 04:32 | |
benzrf | i.e. in lisp, code and lists/trees are notated the same way and represented the same way | 04:33 |
benzrf | oh wait a sec | 04:34 |
benzrf | i think i see what you're saying | 04:34 |
prologic | what? | 04:48 |
prologic | what was I saying :) | 04:48 |
prologic | https://pypi.python.org/pypi/mio-lang/0.1.8 | 05:53 |
*** asie has joined #io | 07:08 | |
*** asie has quit IRC | 07:31 | |
*** asie has joined #io | 07:59 | |
*** asie has quit IRC | 09:14 | |
*** gatesphere has joined #io | 13:23 | |
zephyrtronium | Io> (2] | 13:51 |
zephyrtronium | ==> 2 | 13:51 |
zephyrtronium | lexers are hard | 13:51 |
jer | zephyrtronium, that's also been a known bug for at least 8 years =] | 13:57 |
jer | i fixed it once, but it broke again sometime. | 13:58 |
zephyrtronium | i just find it entertaining | 13:58 |
jer | i originally introduced it when i added [] and {}, found it and fixed it, then it regressed at some point =/ | 13:58 |
jer | heh | 13:58 |
*** asie has joined #io | 14:29 | |
*** jfischoff has quit IRC | 14:52 | |
*** cremes has quit IRC | 15:15 | |
*** asie has quit IRC | 15:34 | |
*** asie has joined #io | 15:41 | |
*** asie has quit IRC | 16:45 | |
*** asie has joined #io | 17:08 | |
*** cremes has joined #io | 17:13 | |
*** cremes has quit IRC | 17:42 | |
*** jer has quit IRC | 18:27 | |
*** jer has joined #io | 18:28 | |
*** cremes has joined #io | 18:32 | |
*** stevedekorte has joined #io | 19:06 | |
*** asie has quit IRC | 19:17 | |
*** jfischoff has joined #io | 19:23 | |
*** stevedekorte has quit IRC | 19:24 | |
*** mi6x3m has joined #io | 19:25 | |
*** stevedekorte has joined #io | 19:26 | |
*** jfischoff has quit IRC | 19:29 | |
*** jer has quit IRC | 19:37 | |
*** jer has joined #io | 19:37 | |
prologic | Merry Christmas y'a;; | 20:00 |
*** stevedekorte has quit IRC | 20:00 | |
*** stevedekorte has joined #io | 20:01 | |
prologic | zephyrtronium, http://codepad.org/LZrelrDp | 20:05 |
prologic | lexers aren't that hard :) | 20:05 |
prologic | but even mio needs to improve on this :) | 20:05 |
*** asie has joined #io | 20:22 | |
stevedekorte | :) | 20:33 |
*** pinupgeek has joined #io | 20:35 | |
*** pinupgeek has quit IRC | 20:35 | |
*** pinupgeek has joined #io | 20:35 | |
*** stevedekorte has quit IRC | 20:37 | |
*** gatesphere has quit IRC | 20:47 | |
*** conner has joined #io | 20:48 | |
*** gatesphere has joined #io | 20:48 | |
*** conner has quit IRC | 21:12 | |
*** conner has joined #io | 21:27 | |
*** stevedekorte has joined #io | 21:49 | |
*** stevedekorte has quit IRC | 21:54 | |
*** jfischoff has joined #io | 22:01 | |
*** conner has quit IRC | 22:27 | |
*** jfischoff has quit IRC | 22:29 | |
*** pinupgeek has quit IRC | 22:33 | |
*** conner has joined #io | 22:41 | |
*** asie has quit IRC | 23:06 | |
*** mi6x3m has quit IRC | 23:24 | |
*** conner has quit IRC | 23:59 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!