Re: x-languages to euphoria translators
- Posted by Brian Jackson <bjackson at 2FARGON.COM> Mar 14, 2000
- 496 views
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 >