1. Euphoria To C Translator - Beta-2

I've updated the Euphoria To C Translator for all 
platforms and C compilers. 

You can now make a .dll (or .so) from Euphoria source,
and you can pass Euphoria sequences and atoms, 
and receive sequences and atoms as return values.

There are a few restrictions. See the docs.

The size and speed of the code was improved slightly,
and several bugs were removed. The last-minute
bug reported on this list yesterday will be fixed 
in the next release.

You can download it now from:

http://www.rapideuphoria.com/v20.htm#translator

If you registered for the Complete Edition of the Translator,
you can use the same instructions as before.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » topic index » view message » categorize

2. Euphoria To C Translator - Beta-2

Another missing post...

-----Original Message-----
From: Matthew Lewis 


> -----Original Message-----
> From: Robert Craig [mailto:rds at RapidEuphoria.com]

> The size and speed of the code was improved slightly,
> and several bugs were removed. The last-minute
> bug reported on this list yesterday will be fixed 
> in the next release.

I've noticed some strange things.  For one, 'without trace' seems to 
have no effect, and printf seems to bomb if the last argument is an 
atom.  More important, however, is that I've got a program that crashes 
like no other Eu program I've ever written/translated.  

The program's based on EuCOM and EuSQL.  It runs beautifully interpreted 
(bound or unbound).  Translated, everything runs fine until I begin 
filling in cells (I'm using the same ActiveX control as in the demo), 
using IDispatch::Invoke to call methods TextRC / NumberRC.  Even though 
the calls to Invoke return 0 (which indicates success), the translated 
code seems to think the return value is an empty sequence.  At least 
that's what '? ok'-->'StdPrint(1, _ok, 1)' prints to the screen.  These 
are not the first calls to Invoke, BTW.   Then it goes into my error 
reporting code, and the return value is printed as zero.  

After a few calls (sometimes on the first one, sometimes after 10 calls) 
my computer completely locks up (sometimes I get an exception that pops 
up, sometimes the blue screen of death, sometimes nothing).  After I've 
rebooted, ctrace.out and another debug file that I've been writing to 
are completely empty--which they weren't before the crash.

I'm not quite ready to throw my hands up and send stuff to Rob, but I'm 
getting close. ;)  Has anyone else had strange experiences like this?

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu