IRC Logs for #io Tuesday, 2013-12-24

jerprologic, yeah i'm aware it's done by inheritance, that's the example i outlined.00:20
jerzephyrtronium, 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 number00:20
jerit's a very subtle distinction00:20
jerclone 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 000:21
jerthis is how inheritance works in io00:21
jerthis is how io implements differential inheritance00:21
jerit delegates EVERY message send to its protos list, first match wins, we process the list depth first00:22
jeronly in ways it is different from its protos will it store locally00:22
*** jfischoff has joined #io00:44
*** benzrf has joined #io01:02
benzrfhello01:02
benzrfis anybody online?01:02
benzrfever?01:02
*** jfischoff has quit IRC01:04
Raimondibenzrf: if you have a question about Io then just ask it01:21
benzrfoh01:28
benzrfone sec01:28
benzrfI know very little io01:28
benzrfi tried to make a simple implementation of dynamically scoped methods, how does this look -> http://bpaste.net/show/viQK4KOLMOnkXTL3pmX4/01:28
zephyrtroniumjer: https://github.com/stevedekorte/io/blob/master/libs/iovm/source/IoNumber.c#L213 this is what i am looking at01:44
zephyrtroniumi wasn't asking how it knows where to get *, i was asking how it knows the numeric value of y01:44
*** jfischoff has joined #io02:32
*** gatesphere has joined #io03:05
prologicjer, hehe it's okay :)04:24
prologicI was just replying to backlog04:24
prologicand didn't read your entries until after :)04:24
benzrfprologic: who is jer?04:25
prologiczephyrtronium, I believe when you clone an object with a cacehd primitive value (e.g: number, string, symbol, etc) that also gets copied04:25
prologicbenzrf, an ex-core dev of 10+ years in Io04:26
prologic:)04:26
prologicjer, hi :)04:26
benzrf20:28 < benzrf> I know very little io04:26
benzrf20:28 < benzrf> i tried to make a simple implementation of dynamically scoped methods, how does this look ->  http://bpaste.net/show/viQK4KOLMOnkXTL3pmX4/04:26
prologicyeah I just read your code snippet04:28
prologicI'm not really srue what that does :)04:28
benzrfOK04:28
prologicjust be reading it04:28
prologicafaik you can dynamically change the scope of blocks anyway04:28
prologicthere's hardly a reason to wrap that up in a method04:28
prologicand all you're doing (afaik) is just calling doInContext(some_obj)04:28
prologictry writing a program in Io instead :)04:28
benzrfive never felt the urge >.>04:29
benzrfwell this does it automatically by caller04:29
prologicthen why bother doing anything in Io :)04:29
benzrfto see if i can grok the crazy metaprogramming04:29
benzrf:-D04:29
prologicright :)04:29
benzrfi normally dont bother doing 04:29
benzrf'real programming'04:30
prologicwell in this case it's called homiconicity04:30
prologicast is a data structure04:30
benzrf*in non mainstream languages04:30
benzrfprologic: im ware of homoiconicity04:30
benzrf*aware04:30
prologicoh well04:30
prologicthat's why Io isn't mainstream then04:30
benzrfare you sure it's exactly homoiconic?04:30
benzrf:p04:30
prologicbecause you don't even try to make it mainstream :)04:30
benzrfaw04:30
prologic:)04:30
prologiccatch 22 :)04:30
prologicyes04:30
prologicIo is homiconic04:30
prologicas is smalltalk04:31
prologicmio04:31
prologicscheme04:31
benzrfit just doesnt feel as polishedly pleasant to use as python or ruby04:31
prologicand a few others04:31
prologictry http://mio-lang.org/ then :)04:31
benzrfi normally think of homoiconicity as meaning that code and data are identical04:31
benzrfwhich is not exactly true of io04:31
prologicwell that's just another way of putting it yes04:31
*** gatesphere has quit IRC04:32
benzrfi.e. in lisp, code and lists/trees are notated the same way and represented the same way04:33
benzrfoh wait a sec04:34
benzrfi think i see what you're saying04:34
prologicwhat?04:48
prologicwhat was I saying :)04:48
prologichttps://pypi.python.org/pypi/mio-lang/0.1.805:53
*** asie has joined #io07:08
*** asie has quit IRC07:31
*** asie has joined #io07:59
*** asie has quit IRC09:14
*** gatesphere has joined #io13:23
zephyrtroniumIo> (2]13:51
zephyrtronium==> 213:51
zephyrtroniumlexers are hard13:51
jerzephyrtronium, that's also been a known bug for at least 8 years =]13:57
jeri fixed it once, but it broke again sometime.13:58
zephyrtroniumi just find it entertaining13:58
jeri originally introduced it when i added [] and {}, found it and fixed it, then it regressed at some point =/13:58
jerheh13:58
*** asie has joined #io14:29
*** jfischoff has quit IRC14:52
*** cremes has quit IRC15:15
*** asie has quit IRC15:34
*** asie has joined #io15:41
*** asie has quit IRC16:45
*** asie has joined #io17:08
*** cremes has joined #io17:13
*** cremes has quit IRC17:42
*** jer has quit IRC18:27
*** jer has joined #io18:28
*** cremes has joined #io18:32
*** stevedekorte has joined #io19:06
*** asie has quit IRC19:17
*** jfischoff has joined #io19:23
*** stevedekorte has quit IRC19:24
*** mi6x3m has joined #io19:25
*** stevedekorte has joined #io19:26
*** jfischoff has quit IRC19:29
*** jer has quit IRC19:37
*** jer has joined #io19:37
prologicMerry Christmas y'a;;20:00
*** stevedekorte has quit IRC20:00
*** stevedekorte has joined #io20:01
prologiczephyrtronium, http://codepad.org/LZrelrDp20:05
prologiclexers aren't that hard :)20:05
prologicbut even mio needs to improve on this :)20:05
*** asie has joined #io20:22
stevedekorte:)20:33
*** pinupgeek has joined #io20:35
*** pinupgeek has quit IRC20:35
*** pinupgeek has joined #io20:35
*** stevedekorte has quit IRC20:37
*** gatesphere has quit IRC20:47
*** conner has joined #io20:48
*** gatesphere has joined #io20:48
*** conner has quit IRC21:12
*** conner has joined #io21:27
*** stevedekorte has joined #io21:49
*** stevedekorte has quit IRC21:54
*** jfischoff has joined #io22:01
*** conner has quit IRC22:27
*** jfischoff has quit IRC22:29
*** pinupgeek has quit IRC22:33
*** conner has joined #io22:41
*** asie has quit IRC23:06
*** mi6x3m has quit IRC23:24
*** conner has quit IRC23:59

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!