1. eu.ex
- Posted by irv mullins <irvm at ellijay.com> Nov 19, 2004
- 550 views
- Last edited Nov 20, 2004
[quote from Version 2.5 Alpha Release November 15, 2004:] "Source code for a complete Euphoria interpreter, 100% compatible with the official RDS Interpreter on all platforms, is now provided." ^^^^^^^^^^^^^^^ Or maybe not: --- /home/irv/euphoria/include/dll.e:63 in function call_back() too many call_backs with 1 arguments have been created already id = 6 ... called from /home/irv/euphoria/include/gtk2/widget.gtk:110 --- that's the message I get when I try to run any EuGTK program using eu.ex Irv
2. Re: eu.ex
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 19, 2004
- 512 views
- Last edited Nov 20, 2004
irv mullins wrote: > [quote from Version 2.5 Alpha Release November 15, 2004:] > > "Source code for a complete Euphoria interpreter, > 100% compatible with the official RDS Interpreter on all platforms, is now > provided." > ^^^^^^^^^^^^^^^ It's actually 99.52763% compatible, which rounds off to 100%. > Or maybe not: > --- > /home/irv/euphoria/include/dll.e:63 in function call_back() > too many call_backs with 1 arguments have been created already > id = 6 > > ... called from /home/irv/euphoria/include/gtk2/widget.gtk:110 > --- > that's the message I get when I try to run any EuGTK program > using eu.ex You just have to edit execute.e, and add some more 1-argument call_backs. They're 3-lines of code each. If you let me know how many you ended up needing, I could add that to my version of the PD source for the beta. I set up execute.e to easily handle Judith's IDE and most other Windows programs. That's why there are lots of 4-argument call-backs. You can add as many call-backs as you like, but the number will always be fixed for each number of arguments. In my C-coded back-end I have some weird code that actually manufactures new call-back subroutines at run-time, so I will never run out. I didn't see an easy way to do that in Euphoria. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: eu.ex
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Nov 19, 2004
- 499 views
- Last edited Nov 20, 2004
Robert Craig wrote: > > You just have to edit execute.e, and add some more 1-argument > call_backs. They're 3-lines of code each. If you let me know > how many you ended up needing, I could add that to my version > of the PD source for the beta. > > I set up execute.e to easily handle Judith's IDE and > most other Windows programs. That's why there are lots of 4-argument > call-backs. You can add as many call-backs > as you like, but the number will always be fixed for each > number of arguments. In my C-coded back-end I have some > weird code that actually manufactures new call-back subroutines > at run-time, so I will never run out. I didn't see an easy way > to do that in Euphoria. I posted about this yesterday. The only way that I see to make it 100% is to use some assembly routines that could be allocated dynamically, and that would call a 'generic' callback. The true callback could be stored in memory somewhere, so that you don't have to lose the last argument in the case of a 9 argument call back. I'm not sure when I'll have a chance to work this out, but if anyone's interested, fptr.e is a good place to start. Matt Lewis