[Interest] reading javascript body from c++
Thiago Macieira
thiago.macieira at intel.com
Mon Dec 10 16:55:03 CET 2012
On segunda-feira, 10 de dezembro de 2012 13.44.23, Andy Mayer wrote:
> But for my DSL (declaration of a special petri net) I need the body of
> the javascript functions. The workaround looks quite interesting...
This of it this way: you can't get the source code as written by the user, but
you can (I think -- to be verified) get a handle to the compiled function, so
you can execute it.
Will this suffice?
If you need a free-form text that isn't parsed by the engine, you'll need to
write it as a string.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121210/ad4549e0/attachment.sig>
More information about the Interest
mailing list