Re: Dynamic calling

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

Ok, talked to Derek on irc, it was enlightening, and sad. No way at all to make eu code into something that the interpreter will be happy executing in a routine_id call to allocate() or allocate_code().

The ability to dynamically parse and execute code in a running program (similar to perl or javascript eval) may be implemented in a future version of euphoria. There is no (convenient) way to do this currently. I suppose that the closest you could get would be to write the code out to a file, use the translator to build a dll/so/dylib, and then use the compiled result through the open_dll/define_c interface.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu