1. Eval/Interpret statement, routine?

In some interpreted languages, there is a way to evaluate/interpret and 
execute expressions. For example, JavaScript has eval(). Does something 
like this exist in Euphoria 2.4?

My searches of the docs have not yielded any such information.

Terry Constant

new topic     » topic index » view message » categorize

2. Re: Eval/Interpret statement, routine?

Terry Constant wrote:
> In some interpreted languages, there is a way to evaluate/interpret and 
> execute expressions. For example, JavaScript has eval(). Does something 
> like this exist in Euphoria 2.4?

No it doesn't (although Matt has something).
In 2.5 you'll have the Euphoria source code for
a complete Euphoria interpreter, 100% compatible
with the standard interpreter. Maybe someone can
produce an include file that will let you 
evaluate/run Euphoria statements and expressions that
are created at run-time.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

3. Re: Eval/Interpret statement, routine?

On 12 Aug 2004, at 16:29, Robert Craig wrote:

> 
> 
> posted by: Robert Craig <rds at RapidEuphoria.com>
> 
> Terry Constant wrote:
> > In some interpreted languages, there is a way to evaluate/interpret and 
> > execute expressions. For example, JavaScript has eval(). Does something 
> > like this exist in Euphoria 2.4?
> 
> No it doesn't (although Matt has something).

David Cuny wrote several files that did interpretation, and Bach has such a 
function (see: http://www.catexa.com/).

Kat

> In 2.5 you'll have the Euphoria source code for
> a complete Euphoria interpreter, 100% compatible
> with the standard interpreter. Maybe someone can
> produce an include file that will let you 
> evaluate/run Euphoria statements and expressions that
> are created at run-time.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 
> 
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu