1. C help...

Hi all!

 I posted, like a week ago, on tips with how to port C to Euphoria, and
I got no answer... wah.

I'm trying to port to Euphoria, a game engine called Genesis3D, by
Eclipse Entertainment, which is in C. you can find it at Genesis3D.com.

Anyway, I really wanna port this so I can program to this engine, in a
language I already know, and know well.

Yes, I am a rare one to reply here, but I am here... I just rarely see
anything i'd be so interested in as to reply. (random numbers, wrappers,
splitting, contests on the best return, or something like that, etc) Not
to say that this list is boring, (its quite concise, ever since Nick, or
whus his face, left) but theres nothing I would be all that interested
in... i'm here for information... not contests... :)

Thanx in Advance...

===>=>"LEVIATHAN"<=<===

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: C help...

On Sun, 20 Dec 1998 11:34:28 PST, bonn ortloff <kc7yrh at HOTMAIL.COM> wrote:

>Hi all!
>
> I posted, like a week ago, on tips with how to port C to Euphoria, and
>I got no answer... wah.
>

    Porting from one language to another is in theory pretty simple.
It is just a matter of translation.  However, To convert from one to
the other requires at the least some working knowledge of both
languages OR Heavy, understandable documentation on either or both.

    Unfortunately, The only tip that I can give on porting C code
into Euphoria is to just do it, OR find someone to do it for you.

    Any other help and I would be actually doing it for you.  Since
I don't have a strong knowledge of C and I am not interested in
learning C, I am not willing to attempt to port the code for you.

PS: If you don't know anything about C, I can give you one other tip.
    Pointers are very difficult to work with.  Good luck handling any
    pointers that you come across.

>I'm trying to port to Euphoria, a game engine called Genesis3D, by
>Eclipse Entertainment, which is in C. you can find it at Genesis3D.com.
>
>Anyway, I really wanna port this so I can program to this engine, in a
>language I already know, and know well.
>
>Yes, I am a rare one to reply here, but I am here... I just rarely see

    Just as it should be, The fact that you don't reply often is not
relevant.

>anything i'd be so interested in as to reply. (random numbers, wrappers,
>splitting, contests on the best return, or something like that, etc) Not
>to say that this list is boring, (its quite concise, ever since Nick, or
>whus his face, left) but theres nothing I would be all that interested
>in... i'm here for information... not contests... :)
>
>Thanx in Advance...
>
>===>=>"LEVIATHAN"<=<===
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
_________________________

Lucius L. Hilley III    lhilley at cdc.net
http://www.cdc.net/~lhilley
http://www.americanantiques.com
http://www.dragonvet.com
_________________________

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

3. Re: C help...

Bonn Ortloff wrote:

> I posted, like a week ago, on tips with how to port C
> to Euphoria, and I got no answer... wah.

The short answer is, you need to be able read C to port from C. Once you
understand how the code works, you translate it from on idiom to the other.
For example, it would make sense to use sequences in Euphoria  instead of
C's pointers and structures.

If you are instead trying to communicate to a DLL written in C, take a look
at Win32Lib. It needs to communicate with Win32, which requires C data
structures. As a result, I've got a bunch of tools that make it easy to
create, read and write C data structures.

Hope this helps.

-- David Cuny

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

4. Re: C help...

Just a quick note.... porting C to Euphoria is extremely hard, even with
a (barely) workable knowledge of C, and probably impossible if you've
never coded in C before.

I tried to port a relatively simple little race car game (nothing
special, not a complex game at all), from C to Euphoria, and let me tell
you, it's absolutely evil..... There are no nice little sequences in C,
like in Euphoria, and good luck trying to figure out how pointers work,
and how exactly those little beasts can be ported.

I gave up on the project.  I think I almost had it working... but in the
long run, it's probably far easier to write the damn thing you're trying
to port yourself.  At least until someone comes out with C2Eu.  Maybe
when I become a C guru with a degree in compsci, and a master of
Euphoria, I might wanna undertake the task of writing a translator.  So
if you wanna wait 10 years or so, I might have something for ya.

Greg


--
Greg Phillips
i.shoot at rednecks.com
http://euphoria.server101.com
--

Useless fact of the day:

The most worldwide spoken language is Mandarin Chinese

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

5. Re: C help...

Hi!

I got a... nice amount of replys, and it helps... and i've decided to do
one thing... eheh...

Try to get more knowledge of C... and try coding into it...

Oh boy... this'll take me a while... Hang on... :)

===>=>"LEVIATHAN"<=<===, listening to Bad Religion, 21st Century Digital
Boy.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

6. Re: C help...

I'm experienced in C/C++ and would like to help you with any port.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu