1. x-languages to euphoria translators

------=_NextPart_000_00B4_01BF8D36.F5EF14E0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

1.
Are there programs which translate euphoria source code to another =
language source code (C++,...) and vice versa? (is that right?)

Really useful would be programs which translate C++ and Visual Basic =
source code to euphoria.

2.
I use this type:
=20
global type sq(sequence s)
 return 1
end type

instead of typing "sequence" I just type "sq".
Will this slow the execution?

3.
I haven't yet found good euphoria editor!!! Where is some good, which =
will list all fucntions, ... One like Visual Studio 5.0 would be just =
fine! (with euphoia source code so you can easily customize it!)

4.
Why isn't source code for euphoria interpreter available?

5.
Where are some good hacker programs, so I can easily edit machine code, =
remove registration thing...
Program which would translate machine code to assembly and then higher =
would be great man!

6.
Is it possible to write BIG programs/games in euphoria, like Quake for =
example. Till now i have seen just small (ffUckQn) progs. Are euphoria =
binded programs (translated to machine code) a lot quicker than =
interpreted? They could be as fast as C programs!? Then euphoria would =
be really serious language.
=20
Danke Ihnen Mensch. I hXtQ gQrmQn!.!
19 yrs alt!

-------------------------------------------------------------------------=
-------

-------------------------------------------------------------------------=
-------

tone.skoda at siol.net
JaMan

------=_NextPart_000_00B4_01BF8D36.F5EF14E0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>1.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Are there programs&nbsp;which translate =
euphoria=20
source code to another language source code (C++,...)</FONT><FONT =
face=3DArial=20
size=3D2> and vice versa? (is that right?)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Really useful would be programs which =
translate C++=20
and Visual Basic source code to euphoria.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2.</FONT><FONT face=3DArial =
size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp;use this type:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>global type sq(sequence =
s)<BR>&nbsp;return 1<BR>end=20
type</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>instead of typing "sequence" I just =
type=20
"sq".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Will this slow the =
execution?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>3.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I haven't yet found good euphoria =
editor!!! Where=20
is some good, which will list all&nbsp;fucntions, ... One like Visual =
Studio 5.0=20
would be just fine! (with euphoia source code so you can easily =
customize=20
it!)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>4.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Why isn't source code for euphoria =
interpreter=20
available?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>5.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Where are some good hacker programs, so =
I can=20
easily edit machine code, remove registration thing...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Program which would translate machine =
code to=20
assembly and then higher would be great man!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>6.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is it possible to write&nbsp;BIG =
programs/games in=20
euphoria, like Quake for example. Till now i have seen just small =
(ffUckQn)=20
progs. Are euphoria binded programs (translated to machine code)&nbsp;a =
lot=20
quicker than interpreted? They could be as fast as C programs!? Then =
euphoria=20
would be really serious language.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Danke Ihnen Mensch.&nbsp;I hXtQ=20
gQrmQn!.!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>19 yrs alt!</FONT></DIV>
<DIV>
<HR>

<HR>
</DIV>
<DIV><FONT face=3DArial size=3D2><A=20

------=_NextPart_000_00B4_01BF8D36.F5EF14E0--

new topic     » topic index » view message » categorize

2. Re: x-languages to euphoria translators

On Mon, 13 Mar 2000 21:56:18 +0100, =?iso-8859-2?B?qWtvZGE=?=
<tone.skoda at SIOL.NET> wrote:

>1.
>Are there programs which translate euphoria source code to another
language source code (C++,...) and vice versa? (is that right?)
>
>Really useful would be programs which translate C++ and Visual Basic
source code to euphoria.
>

The only program that does anything similar that I know of is ASM2SEQ, but
it doesn't translate ASM code, just stores it as Eu sequences (I think)

>2.
>I use this type:
>
>global type sq(sequence s)
> return 1
>end type
>
>instead of typing "sequence" I just type "sq".
>Will this slow the execution?
>

Yes.  Type checking always slows execution.  Even if you have no types
declared, your program will run *much* faster if you use the without
type_check directive.


>3.
>I haven't yet found good euphoria editor!!! Where is some good, which will
list all fucntions, ... One like Visual Studio 5.0 would be just fine!
(with euphoia source code so you can easily customize it!)
>

I had the same problem.  I use Textpad 4.1 (commercial product) with a
syntax file for Euphoria.  Other good editors include Edith (it flickers
too much and gives me a headache), ee (doesn't have a Windows version, but
does run on Linux), and there are several others on the archives page.

>4.
>Why isn't source code for euphoria interpreter available?
>

I don't claim to speak for RDS, but I assume because the Euphoria
interpreters are commercial, proprietary product.

>5.
>Where are some good hacker programs, so I can easily edit machine code,
remove registration thing...
>Program which would translate machine code to assembly and then higher
would be great man!
>

You're on your own there...

>6.
>Is it possible to write BIG programs/games in euphoria, like Quake for
example. Till now i have seen just small (ffUckQn) progs.

The only limit on program size is the amount of system memory + swap space
available.  You can write HUGE programs in Eu if you want.

>Are euphoria binded programs (translated to machine code) a lot quicker
>than interpreted? They could be as fast as C programs!? Then euphoria
>would be really serious language.

No.  As far as I know, there is no performance increase from binding a
program.  Euphoria is a VERY fast interpreted language, but it doesn't even
come close to matching C/C++ or ASM in speed.  If speed is your ONLY
concern, then you should stick to ASM or C.  *BUT*, with today's machines,
speed is so much less of an issue.  You can even code tolerable Java
programs on a 600MHz Athlon, and it's dog slow next to Euphoria.  If you
don't want to spend more time debugging that writing code, Eu is a very
good alternative to C and you probably won't miss the speed at all.

>Danke Ihnen Mensch. I hXtQ gQrmQn!.!
>19 yrs alt!
>
>---------------------------------------------------------------------------
-----
>
>---------------------------------------------------------------------------
-----
>
>tone.skoda at siol.net
>JaMan
>

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

3. Re: x-languages to euphoria translators

=A9koda wrote:

> Are there programs which translate euphoria source=20
> code to another language source code (C++,...)=20
> and vice versa? (is that right?)

Porting *from* Euphoria is a bit difficult, since structures with =
garbage
collection are, as far as I know, unique to Euphoria.


> Really useful would be programs which translate C++=20
> and Visual Basic source code to euphoria.

Euphoria lacks an inheritance mechanism, as well as good support for
pointers. I don't think a C++ translation would be that successful. The =
main
problem with porting VB would be translating the Win32 calls. I don't =
know
any Win32 library for Euphoria that supports the range of controls and
events that VB does.


> I haven't yet found good euphoria editor! Where is some=20
> good, which will list all functions, ...=20

Sounds like you want a Windows editor, since you (apparently) already =
tried
EE. There's an editor widget in Win32Lib IDE that supports syntax =
coloring
and so forth. You could easily hack that into a full editor. Barring =
that,
you're probably better off with some programmer's editor.


> Why isn't source code for euphoria=20
> interpreter available?

RDS makes money by selling an 'enhanced' version of the interpreter.
Publishing the source would eliminate their revenue. No revenue means =
no
future enhancements. Bad idea.

If you want an open source version of Euphoria, Pete Eberlein's written =
one.


> Where are some good hacker programs, so I can easily edit=20
> machine code, remove registration thing...

There's no registration thing to remove.


> Program which would translate machine code to=20
> assembly and then higher would be great man!

You should look a bit harder. Pete's already coded an assembly toolkit.


> Is it possible to write BIG programs/games in euphoria,=20
> like Quake for example.

Yes.


> Are euphoria [bound] programs (translated to machine code)=20
> a lot quicker than interpreted?=20
=20
Binding (more or less) just sticks the source code and interpreter =
together,
so that they are a single file. So they aren't compiled.

This has been discussed at length here; the bottom line is that =
converting
to 'pure' assembly won't offer that much of a speed up. Euphoria =
already
converts much of the code into in-line assembly, and is designed so =
that it
doesn't have a high overhead for function calls (unlike Forth, which =
has to
push/pop with argument and routine call).


> They could be as fast as C programs!? Then=20
> euphoria would be really serious language.

In that case, you might just want to stick to Assembly, since it's the =
most
'serious' programming language you'll find.


-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu