... If anything, 1 := 2 should work right: Io> message(1 := 2) ==> setSlot("1", 2) Right now, this does nothing; doesn't set the slot. However, if you: ...
Sorry to reply to myself, but I just checked with the old parser; the behaviour I describe below worked with the old parser, is broke with the new parser. ... ...
Hi Jer, ... I confirm that there is a bug with the new parser which prevents 1 := 2 from working correctly. I've added the following to my bugs list on ...
... I don't know, it's kind of strange that obj 10 := 20 treats 10 as a string, where everywhere else it would be a number. 10 is not an identifier, it's a ...
... I agree. At the very least, `a := b` is supposed to be equivalent to `setSlot(a, b)`. If they both fail, but fail in different ways, that's pretty...
... So then in `obj foo := 20`, foo is an object with the name "foo"? I don't think of foo as an object, just the name of a slot, a binding. Then there's...
Hi Erik, ... I believe you meant that 'a := b' is supposed to be equivalent to 'setSlot("a", b)'. As I said in my response to Jer, it is a bug in the new...
... You'll note that the following creates a slow called "foo" (including the quotes): Io> "foo" := "bar" ==> "bar" Io> getSlot("\"foo\"") ==> "bar" This is...
... Good point, my bad. Still, if `a := b` is supposed to be equivalent to `setSlot("a" := b)` -- that is to say, the identifier `a` is intended to be...
Hi Erik, ... Io has a weird take on identifiers. An Identifier in Io is something which can be used as a slot name. Slot names must be strings, so identifiers...
Hi, the message I am replying to is from almost a year ago. Sadly, there hasn't been any discussion on it. As I really like Massimiliano's idea and recently...
Hi, ... I am not sure how clear that is. I will repeat some of this bellow for clarity. ... I am not sure how long (or recent) you have used Io but the...
Brian Mitchell
binary42@...
Apr 1, 2006 7:30 pm
8766
... I haven't had time to play around with more syntax but I think this shows that Io can be expressed successfully in more than one way. We have multiple...
Brian Mitchell
binary42@...
Apr 1, 2006 7:44 pm
8767
... This still doesn't explain why `a := b` and `setSlot("a", b)` behave differently even though they're supposed to be identical. -- Erik Max Francis &&...
... The reason you are seeing the <literal> := value bug in the current parser is because of two things: 1) When Io encounters a literal in code it will create...
Brian Mitchell
binary42@...
Apr 1, 2006 8:08 pm
8769
... Actually, it shouldn't be too terribly difficult to support a smalltalk like syntax on Io, but it would require writing a new parser, and reorganizing the...
Author: Jeremy Tregunna Name: Enhance inheritance system with categories Date: 2006-04-01 Revision: 0 Scope: Io Core Abstract This document will describe...
... What I meant was that not every tree is valid, or at least has a well-defined semantic. ... So you acknowledge that above tree has ambiguous meaning in the...
If you google "Io language", in the preview for the search hit it says: "Small, embeddable, object-oriented, prototype-based, garbage collected language;...
Hi Guys, ... In December last year I reinvented this idea under the label Unificiation of Next and Attached Messages. Having done lots of message manipulation...
... Could you compare this to the scheme described in: http://javalab.cs.uni-bonn.de/data2/papers/darwin/roles.IAI-TR-96-11.pdf (AKA "Objects Don't Migrate"). ...
... Hi Paul, Thanks for the suggestion. If you can send me the required scripts and html for the web pages as you'd like to see them, I'd be happy to add them....
Hi, Some quick replies bellow. Keep in mind that the majority of my content was not to make a point but to explore and define the domain better. ... Right....
Brian Mitchell
binary42@...
Apr 2, 2006 1:21 am
8778
How about using syntactic sugar for getSlot? It's pretty common to see notations like this: `obj is the reference to an object and obj is its value. We would...
... I like this suggestion, because it's very readable. But I'm not sure it's any more easily writable than the current syntax using getSlot. I suspect we'd...
Hi, I've let this suggestion pass for a while, waiting to see if anyone would post an alternative IoProp. I think there is a general agreement that activation...