I really love coroutines, especially for handling functions that have wait states or delays. But is it possible to have implicit coroutines, that only appear...
In developing my own language Caribou, I decided to model behaviour instead of state as I was going to implement the Id object model used in Pepsi (google it,...
Jeremy Tregunna
jeremy.tregunna@...
Dec 3, 2008 8:03 pm
11050
It would be interesting to see actually how the IoBlock primitive could be replaced by coroutines directly. Whether or not this would impact efficiency and...
Jeremy Tregunna
jeremy.tregunna@...
Dec 3, 2008 8:03 pm
11051
... 404 Not Found ... Can you give some examples? Do you mean like Smalltalk for example, where you can't access anything inside, and must go through a...
... I was working on the bug tracker which involved killing the web app a couple of times, you must have caught it just as I was doing it. I'm done for the...
Jeremy Tregunna
jeremy.tregunna@...
Dec 4, 2008 4:20 am
11053
hi. reposting to the mailing list on request from jer_. i got the following build error: IoFile.c:235: undefined reference to `WEXITSTATUS`. this was with...
I've pushed out a patch to IoNumber.c which checks for log2 at compile time, and if not defined, defines it. I ran into this problem with HEAD on FreeBSD 7.0...
Jeremy Tregunna
jeremy.tregunna@...
Dec 11, 2008 7:55 pm
11056
It seems like these days I have to fix a bug before I can actually code any Io... 'make test' is now failing in ListTest.io when testing 'sortInPlaceBy' on an...
I've added a new addon for language localization. It's very primitive at the moment, but it works. As an example of how to use it: o := Object clone do( en_CA...
Jeremy Tregunna
jeremy.tregunna@...
Dec 13, 2008 4:21 pm
11059
I was just trying out some example code from the Io guide, and I tried the minimal HTTP server. Code here: http://www.iolanguage.com/paste/p/cd4c8f097.html ...
I just installed libevent-1.4.8, and now it works. It at first was complaining that it couldn't find libevent-1.4.so.2, but after I moved the .so from...
Move it back. Io will look for libraries wherever your system linker knows where to find them. My guess is that you're running Linux, and you do not have...
Jeremy Tregunna
jeremy.tregunna@...
Dec 16, 2008 6:27 pm
11063
Hello all! I've just pulled source from the git repository and ran the make commands without errors. However, when I try to use Regex module the script stops...
Jakob Vidmar
jakob.vidmar@...
Dec 17, 2008 7:22 pm
11064
... What kind of computer and OS are you using? The phrase "bus error" can mean different things depending on who wrote your OS and what hardware it's running...
Oh, yes! I'm terribly sorry. It seems, that I have forgotten to write that in the orignal mail. Anyhow - I'm using Mac OSX 10.5.5, and compiling with gcc...
Jakob Vidmar
jakob.vidmar@...
Dec 17, 2008 7:59 pm
11066
Again, I sent the mail bit too soon. It's an Intel processor based mac. 2008/12/17 Jakob Vidmar <jakob.vidmar@...>...
Jakob Vidmar
jakob.vidmar@...
Dec 17, 2008 8:00 pm
11067
... Hi Jakob, Thanks for the bug report. Can you provide the script so we can repeat the error? - Steve...
Hi! Thanks for the speedy response! The script itself is nothing more than a test, but still: Regex testString := "Test test test test" matchString :=...
Jakob Vidmar
jakob.vidmar@...
Dec 17, 2008 10:23 pm
11069
... It works for me on OSX 10.5 Intel. If you weren't doing a fresh checkout and compile, then doing a "make clean" before running "make" might solve the...
Hum, I thought I had done a "make clean", but I obviously hadn't since it's working now - after I recompiled and reinstalled it. Thanks for your help though. ...
Jakob Vidmar
jakob.vidmar@...
Dec 18, 2008 12:36 am
11071
I found this very astonishing and disapointing: x := list (1,2,3,4) ==> list(1, 2, 3, 4) Io> x foreach(x, x print) 1234==> 4 Io> x ==> 4 So foreach does not...
... Scopes are expensive. You can implement a foreachBlock() or mapBlock() and pass a block if you need a scope and don't mind the overhead. Btw, most...
Io> addX := method(nx, x = x + nx) ==> method(nx, x = x + nx ) Io> addY := getSlot("a") asString replaceSeq("x", "y") ==> method(ny, y = y + ny ) In this case,...
... Aha, very meta-program like :) Not sure if you're looking for more of a macro for speed, or currying for genericity, but I can see where it would be...