Hi all, especially Steve, This could be hairy. There seems to be some ugly interaction between Io's coroutines and C++'s stack frames. The following little...
Jonas Eschenburg
indyjo@...
Dec 2, 2005 7:28 pm
7490
... Hi Jonas, Thanks for the bug report. Which Io release are you using? -- Steve...
For the record: No crashing on Ubuntu Linux (Breezy) with Kernel 2.6.12 and IoVM-2005-10-17...
Jonas Eschenburg
indyjo@...
Dec 3, 2005 1:28 pm
7494
... Earlier this year I posted some patches that included a coro stack fence and a modification to the start of stack for MSVC to prevent coro crashes. I...
... You're right: destructors are not called in C++ functions that are terminated prematurely, such as with Io's exceptions (based on coros). But, at the...
Attached is some Io code for a text alignment method for Sequence. If passed to a sequence, it will align it based on input, padding with spaces, or if a third...
Quag just pointed out on IRC one problem with this; stripping self before padding. Attached is a new patch which doesn't do this. If you want to strip it, do...
... This is an interesting idea. IIRC, the guy that did FreeType wrong an article on how to use C++ auto destructors with setjmp/longjmp. We could probably use...
Hello, i downloaded IoFull-2005-10-17.tar.gz and tried to compile it. I got the following error: done ./io2c VMCode IoVMCode.io IoVMCode.c made IoVMCode.c from...
... IoFull/vm/base/DynLib.c ... I'm on 10.4.3, and just removing the #ifdef block is not quite sufficient to get Io to compile under XCode 2. (I'm on XCode...
Hi Tomas, Apply http://scorch.dollyfish.net.nz/~quag/2005-10-17a-rc1.patch.gz to the vm directory. Check the list archives for further details on this issue. ...
Thomas, Which compiler are you using? You might try removing "--param max-inline-insns-single=500" from vm/base/Makefile. Also, if you aren't running MacOS X,...
Jonas Eschenburg
indyjo@...
Dec 4, 2005 9:30 am
7504
I discovered Io a couple days ago and it's an exciting language. I did find one little bug: Io version 20051017 Io> 2^3^2 ==> 64 That should be 2^(3^2)=512. I...
... IOTOKEN_NAME(m)[0] == '^') But operators like ^++$ mean that my solution is not actually correct :-( It passed all the unit tests though, honest. Maybe...
... Thanks for the patch, although it did not fix the crashing bug. The following seems to happen: 1. *func* needs to register an exception handler in order to...
Jonas Eschenburg
indyjo@...
Dec 4, 2005 2:44 pm
7507
Why has IoFull-2005-10-17 been replaced with IoFull-2005-10-07 on the <http:// www.iolanguage.com/Downloads/> page? /Jon...
... It is always possible to guard critical calls to Io functions using IoState_tryExec(). When an (Io) exception happens, you can handle it locally or rethrow...
Jonas Eschenburg
indyjo@...
Dec 4, 2005 4:19 pm
7509
I think that is meant to be a 12 instead of a 10. Jonathan...
I made ad-hoc Audio binding patch for IoFull-2005-10-17 with source of IoDesktop-2005-09-10. I did followings: copy source from IoDesktop, and merge Audio/base...
MunSic Jeong
ruseel@...
Dec 4, 2005 11:49 pm
7511
I've just skimmed a lot of the Io documentation, and overall I'm quite impressed. One thing confuses me, though. You mention in several places that the code...
I patched Scheduler.[hc] and Coro.[hc] to implement coroutines on Windows using fibers. You have to #define HAS_FIBERS to enable it. So far I haven't found any...
Jonas Eschenburg
indyjo@...
Dec 5, 2005 12:20 am
7513
... A mix up - I've fixed it. Thanks for the report. -- Steve...
... Take a look at the docs on Message. Io can do macros, but it's more powerful to use the fact that Io passes args by references to their expressions to get...
... I posted a simple example at http://c2.com/cgi/wiki?HomoiconicExampleInManyProgrammingLanguages in the past. Io> b:=3 ==> 3 Io> a:=block(b=15) #assign the...
... Excellent! Thanks. This is exactly what I was curious about. On a completely unrelated note, I'm trying to compile and play with Io, and failing because...
This is a well known issue and has been discussed many times ... just search the archives and you'll find the solution :-) I remember reading somewhere that...
... In fact, it was discussed very recently: http://groups.yahoo.com/group/iolanguage/message/7501 You also have to edit the makefile. -- Paul Brown ...