Thanks.  It's coming along slowly but surely.  Symmetrica uses macros
(as functions) pretty extensively.  Is there a way in Pyrex/SageX to
have it treat something like a macro or do you just have to declare it
like a function?

--Mike

On 5/6/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
>
> 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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to