1. eu.ex

[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

new topic     » topic index » view message » categorize

2. Re: eu.ex

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: eu.ex

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu