Re: [Interest] reading javascript body from c++

2012-12-11 Thread Andy Mayer
Am 11.12.2012 10:21, schrieb Koehne Kai: > Other ideas: Use v8 debugging API to get the text, e.g. by setting > breakpoints and do a "Request: source" [1]. Parse .qml files on your > own (there's a QML parser both in qtdeclarative and Qt Creator which > you can copy). [1]: http://code.google.com

Re: [Interest] reading javascript body from c++

2012-12-10 Thread Andy Mayer
Am 10.12.2012 10:01, schrieb Thomas McGuire: Hi, On Saturday 08 December 2012 20:18:50 Andy Mayer wrote: Am 08.12.2012 19:25, schrieb Thomas McGuire: On Saturday 08 December 2012 11:34:17 Andy Mayer wrote: I have a question regarding the possibilty of reading the body of a javascript

Re: [Interest] reading javascript body from c++

2012-12-08 Thread Andy Mayer
Am 08.12.2012 19:25, schrieb Thomas McGuire: Hi, On Saturday 08 December 2012 11:34:17 Andy Mayer wrote: I have a question regarding the possibilty of reading the body of a javascript function from c++. I want to create a DSL based on QML and I have to read the body of a javascript function

[Interest] reading javascript body from c++

2012-12-08 Thread Andy Mayer
Dear all, I have a question regarding the possibilty of reading the body of a javascript function from c++. I want to create a DSL based on QML and I have to read the body of a javascript function. e.g. QML: Item { function action() { console.log("Got message:", msg)