... To an overview over which operators are defined by which prototypes, I wrote this little script: operMap := Map clone IoVM slotNames foreach(isn, ...
Using Io 20060429 on OSX, I wanted to check if it was possible to continue an expression on the next line by using "\" at the end of the current line. This is...
... Note that it's trying to find a slot named +\ because of the lack of a space (when you use two non-alphanumeric characters next to one another, Io thinks...
... Nearly everyone here is a refugee from the world of statically typed languages. No one here has any desire to make Io into a mutant-hybrid static-dynamic....
... So you should use a special type of method constructor which allows this behaviour; nobody has been against that, it's changing the default behaviour that...
Hey everyone, I am suffering. I am suffering because I cannot run Io on my machine. It's a Macbook Pro, and generally very nice, but Io hasn't been ported to...
... Apart from this plea, you may be able to get assistance from those who know the platform in #opendarwin on freenode. That is, they may be able to help you...
... Err, call varargs would be different. It'd be subset of call arguments that was matched to the * pattern. Call arguments would contain that portion as a...
... Again I'm being misunderstood. I am Fully aware of the case you describe, you need not repeat yourself for christ sakes, this is ridiculous. I was merely...
... It's still under construction. It will be different from a Smalltalk/LISP image though. Object records will be randomly accessible and Map values will be...
(If I've missed this entry in the manual, please forgive my ignorance). Is it possible to unset a slot on an object in Io? The motivation for this question...
Hi Rich, ... removeSlot("theSlot") If you want to distinguish between if a slot is on the local scope vs the object you can use self hasSlot("slotName") # on...
Just posting this as an update. ... It does now, as of an hour ago. The support is in the darcs repository, and should appear in the next release. ... The...
Earlier tonight we incorporated a UTF8 patch for the lexer. All works fine if you use standard ASCII or UTF8 character encoding (or even extended ASCII...
For those who still want to try ' as syntactic sugar for getSlot, here is a very simple piece of code: Object ' := method(self getSlot(call message arguments...
SainTiss
saintiss@...
May 5, 2006 10:04 am
8974
I was surprised that this method ... method(getSlot("Number")) ... returns nil, while this method ... method(IoVM getSlot("Number")) ... returns 0. In the...
Hi Jon, I don't know if this is explicitly in the docs, but it is correct behaviour: Any message in a method is by default sent to a Locals clone. Since Locals...
SainTiss
saintiss@...
May 8, 2006 8:21 am
8976
Hi Hans, OK, but what then is the difference between method(getSlot("Number")) and method(Number) ...? The latter returns 0. /Jon...
Hi Jon, Well, by default a message is sent to Locals, but if Locals does not respond to it (as with "Number"), it is sent to self instead. So the difference is...
SainTiss
saintiss@...
May 8, 2006 10:59 am
8979
I'm writing a script that generates readable html docs from available data in the Io system. To access the available slot docs, I do things similar to this: ...
Hello,. I'm curious about message trees: Why are they built with `next` and `attached` slots on Message instead of using Lists of Message objects ? Regards, ...
... First you have to "make docs" then run "make" to build a clean, new vm; that will include the doc stuff in the C source files. After you're done, you can...