Re: Euphoria feature request
- Posted by "Kat" <gertie at visionsix.com> Dec 10, 2003
- 469 views
On 9 Dec 2003, at 17:18, Greg Haberek wrote: > > > I think you're confusing binding with translating. > > When you bind a file, you're basically throwing Euphoria code onto the end > of the PDE (Public Domain Edition) Interpreter. The interpreter then looks > for the code at the end of the file and begins to execute it. Of course, > it's not that simple, there are certain things it looks for so you can't > just toss your code onto the end of your interpreter and have a working .exe > file. > > When you translate a file, your Euphoria code is interpreted into C code, > then compiled by your choice of compiler. At no point is the source of the > interpreter included in this process. The C code produced by the Translator > may > have some of the same routines and macros in order to emulate the behavior of > the Interpreter, such as error handling and sequence manipulation, but it's > still C. > > If you're looking for a way to build modules of Euphoria code, you have a > few options: > > 1 Use EuScript by Matt Lewis. you can run Euphoria code within a Euphoria > program, as plain text, but speed may become an issue since Euphoria does not > support threads, which would speed up execution. This is not for complex code. Use eval() in Bach, it's pretty darned fast. Karl made it, it works, but RDS is against it. Kat