On Mon, Dec 31, 2018 at 11:38 AM Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> Le 28/12/2018 à 15:32, E. Madison Bray a écrit :
> > Also worth noting: My plan (I had hoped to do this sooner but don't
> > have time) in the near term is to rip out most of sage.libs.gap and
> > rewrite it as a stand-alone Python interface to GAP, somewhat in the
> > vein of cypari(2).  As it is, not a whole lot of the core
> > functionality of sage.libs.gap is really particular to Sage.  For the
> > parts that are particular to Sage, they will still be maintained in
> > sage.libs.gap, but it will now be a wrapper around this more generic
> > third-party lib.
> That would indeed be nice! Have you already discussed with upstream GAP
> about this project?

I have.  Markus Pfeiffer already started a py-gap:
https://github.com/markuspf/py-gap  But it's just a simplistic
proof-of-concept (albeit using Cython at least, which I would have
suggested anyways).  It's just a stub, and doesn't really work.  He's
aware of my plans to take this further and so isn't otherwise working
on it right now.

My plan is to basically start with what we already have in Sage (maybe
cleaning it up a bit in the process), rip out anything Sage-specific,
but leave in the necessary hooks and/or class hierarchy such that it's
reasonably easy to add back in the Sage-specific stuff.  How precisely
I will do that is yet to be determined.  There are also one or two
non-trivial utilities from Sage used in sage.libs.gap, most notably
from sage.misc.cachefunc.  I believe that might also be worth
splitting off as a separate library at some point.  But for the first
pass I don't think it's strictly needed for the GAP interface; it's
just an optimization.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to