lballabio / QuantLib-SWIG

QuantLib wrappers to other languages
Other
343 stars 286 forks source link

SWIG + javascript #16

Closed sulliwane closed 8 years ago

sulliwane commented 8 years ago

Since SWIG 3.0, javascript is supported.

So I'm wondering is there is any technical reason why no javascript wrapper exist for Quantlib (through SWIG)?

Thanks!

lballabio commented 8 years ago

No technical reason that I know of, but I haven't looked at the status of Javascript support. It could work as long as it provides wrappers for std::vector, std::string and the other STL features we're using.

Apart from that, I'm guessing that nobody was interested until now. If you have some time, you might try generating Javascript wrappers and see if there are any errors during the SWIG run or the following compilation.

sulliwane commented 8 years ago

Ok. thanks a lot for your answer. If I try generating the javascript wrapper (not before 2~3 weeks I believe), I'll report back here.