Re: Euphoria Interpter ?

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

Bernie Ryan wrote:
> 
> 
> If Euphoria code is read and parsed before running then
> Why can't the parser use the idea of of using #if #else #endif to
> to control what code is read or not read by the parser
> in other words conditionally process the input.
> 

It's definitely possible to do this.  But not necessarily simple or easy.
You're basically embedding another language into euphoria--and one that 
executes immediately, changing the state of the interpreter.  I don't see
an easy way you could use too much of the builtin routines without some
big hacks.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu