That would be really nice.
If it's just plain c code, don't be intimidated by Martin's talk
because that's a whole lot easier than trying to wrap c++. Many of
the interfaces that I've worked with (givaro, linbox, ntl, qd) are
more complicated for this reason... Mostly you should just be able to
declare the relevant functions/structures (cdef extern from
"somefile.h") and use them right from pyrex. Then in setup.py you'll
need to specify that they be compiled with the expected libraries.
If you want a straightforward example without an overwhelming number
of functions, I would look at ECM. Perhaps IML too.
On May 5, 2007, at 1:25 PM, Mike Hansen wrote:
> Hello,
>
> I would like to begin writing a interface to Symmetrica as I would
> like to use a lot of its functionality for the combinatorics and
> symmetric functions package that I'm working on. I've looked at
> William's "Pyrex Guide" (at least the version on the web) and Martin's
> talk.
>
> Is there a "checklist" of things that you need to do to get SageX to
> play nicely with external code?
>
> Is there a particular interface that would be most beneficial to
> look at?
>
>
> Thanks,
> Mike
>
>
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
sage-devel-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---
|