Re: string execution

new topic     » goto parent     » topic index » view thread      » older message » newer message

What is this EU scripting language you're talking about?
I should be more specific: I was asking about how difficult would it be to
add it to C source code of interpreter to become part of Euphoria language.
Scripted languages usualy have this feature (JavaScript: eval (), VBScript)
and in my opinion this is one of advantages of interpreted (scripting)
languages over compiled languages. I don't know why Eu doesn't have it?
I'm thinking it should be pretty simple, you should just treat it as another
include. Someone with source code?

----- Original Message -----
From: "Chris Bensler" <bensler at mail.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: string execution


>
> There is no EU scripting language. Which is what your are asking for.
> Even so, if there were EU script, I don't think you would be able to
> call just any old code that is included in your app. You would only be
> able to call scripted code. Unless RDS were to release a scripted
> version of EU (which IMO, would open a whole new ballpark to RDS), only
> then would you be able to interface the script with existing routines in
> your app.
>
>
> Chris
>
> tone.skoda at siol.net wrote:
> > how difficult would it be to add execution of strings to interpreter?
> > i know i can use some mathematical expression evaluator, but what if i
> > need to call some of my functions or something similar.
> >
> > something like this:
> > integer i
> > i = evaluate ("(1+2)*pow(3,2)")
> > i is now 27
> >
> >
> >
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu