1. looking for a utility

A few years back (running Win98, now XP) I found a utility in the archive that translated source code from other programming languages into Euphoria source code. Unfortunately that drive now has a corrupted registry, & no system I've installed it in has been able to detect it. I can't remember the name of the program or its creator, but I do remember his last name was Hispanic. (I don't have a problem with that, it's just one of the things I remember that may help find it).

new topic     » topic index » view message » categorize

2. Re: looking for a utility

There are a couple of (Q)basic translation routines in the archive

http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=translate

Chris

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

3. Re: looking for a utility

Thanks, but I've already got those (I mean Cuny's QB utility, & J. Brown's BASIC one). I thought the utility I'm thinking of was more generic, as in the ability to recognize C code (but I could be wrong).

Although I haven't used it yet, doesn't the Euphoria to C translator work in reverse, too?

Thanks for responding.

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

4. Re: looking for a utility

silvercoon said...

Although I haven't used it yet, doesn't the Euphoria to C translator work in reverse, too?

Sure, but you have to reverse the C code by hand:

int main() { return 0; } 

Becomes:

} ;0 nruter { )(niam tni 

(Irony off.)

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

5. Re: looking for a utility

silvercoon said...

Although I haven't used it yet, doesn't the Euphoria to C translator work in reverse, too?

No, it does not, it converts Euphoria to C only.

Jeremy

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

6. Re: looking for a utility

silvercoon said...

I thought the utility I'm thinking of was more generic, as in the ability to recognize C code (but I could be wrong).

Although I haven't used it yet, doesn't the Euphoria to C translator work in reverse, too?

Thanks for responding.

The Euphoria to C translator does not work in reverse. It can't convert C code.

The only tool I can recall off the top of my head that does what you are saying is David Cuny's Euphoria SWIG plugin, which would use SWIG to convert C and C header files into Euphoria code. I know there were a few other projects that did the same thing, but I don't remember what they were.

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

7. Re: looking for a utility

ChrisB said...

There are a couple of (Q)basic translation routines in the archive

http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=translate

Chris

ORAC didn't come up in that search.

Orac is an optimizing incremental x-compiler for a Euphoria-like language and is currently being implemented as a pre-processor. It will convert a program into source code for Euphoria \i or \i0 for Advanced Euphoria - a modified interpreter which supports forward calls and which was kindly developed by \cf3\b Christian Cuvier\cf2\b0 who has also supplied many excellent ideas that have been incorporated into the compiler. The source for Advanced Euphoria is bundled with these files. If you wish to use that as the interpreter for running programs, you will have to compile it. Details on how Orac runs a program are in the section: \cf4 Program Execution\cf2 .\par

useless

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

8. Re: looking for a utility

The only other thing I remember about the utility is that I translated a freeware game (very buggy) into Euphoria. I'm reasonably sure that it had been written in some form of C (but memory may fail me). Strangely enough, it worked, even though the program was encrypted, so it came out encrypted. Naturally, when I tried to run it, it aborted with an error. If it had been encoded to translate only QB files, wouldn't it refuse to load ones written in C?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu