22 Jun
2020
22 Jun
'20
3:12 p.m.
Hello, 22.06.2020, 16:45, "Xianwen Chen (้่ดคๆ)" <x@chen.ac>:
I wonder if it is possible to use GiNaC in a C program?
I think it's rather non-trivial due to exceptions, smart pointers, and all other C++ stuff.
Is there a binding for that?
None I know of.
I guess there may be one, because GiNaC is used in other software, for example, Octave and Sage Math.
As far as I know Octave is written in C++, so there's no need for wrappers. On the other hand Sage builds python wrappers (with cython) instead of generic C wrappers. And Sage uses pynac (http://github.com/pynac/pynac) rather than the original GiNaC. Best regards, Alexey