Re: string_exec()

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
katsmeow said...
mattlewis said...
dcuny said...

Since Euphoria can see it's own variables and values (trace does this), it should be straight forward to do this as well:

string_exec("5+4-myVariable") 

That's true, but trace has pointers to the internal structure to work with. It's not that the symbol table isn't available, but scopes make this somewhat complicated.

Unless you drop the new IL into a situation where the scope is already defined and limited, see http://openeuphoria.org/forum/m/127270.wc

Right, but that's using all new stuff, not trying to look stuff up. As I said, my preference is to keep that stuff sandboxed but allow integration points to be defined.

Matt

Would it be easy to call the existing routines, slightly modified, as jimcbrown mentions, and use them in an include with the new top-level option of "include nothing" or "inherit nothing" or something more (mild and controllable), to make the desired clean sterile environment?

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu