PetterS / quickjs

Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
177 stars 19 forks source link

would you support more interaction with python? #60

Open RonaldinhoL opened 3 years ago

RonaldinhoL commented 3 years ago

so far py function can only return simpy type, even simple dict is not support.

wish to add more python support, such as assign a py obj to js and call its method from js...

PetterS commented 3 years ago

I don't plan to do this in C code, as it would increase the complexity too much. It will have to be done with json. Perhaps automatically.

nacho00112 commented 11 months ago

I don't plan to do this in C code, as it would increase the complexity too much. It will have to be done with json. Perhaps automatically.

You couldn't devise a way to add kind of stuff to the library from python inside it?