#6391: libGAP! -- create a Cython library interface to gap
----------------------------------------------------------------------------+
Reporter: was |
Owner: was
Type: enhancement |
Status: positive_review
Priority: major |
Milestone: sage-pending
Component: group theory |
Resolution:
Keywords: |
Work issues:
Report Upstream: N/A |
Reviewers: Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein
Authors: Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein |
Merged in:
Dependencies: #13415, #13123, #13211 |
Stopgaps:
----------------------------------------------------------------------------+
Comment (by nbruin):
I don't think you need to do anything with shared libraries. As far as I
can see, the package communicates with external stand-alone executables
via `Exec` calls. I'm a little surprised that libgap doesn't support Gap's
`Exec` when it does support the rest of the interpreted language. Perhaps
it's just a matter of initializing the environment of the Gap interpreter
more fully?
Anyway, if you can't get the `Exec` approach to work, it should be
possible to rewrite the `kbmag` routines that interface with the
executable so that they produce the output that needs to go into a
temporary communication file in a way that does work. Then you can call
the executable with whatever means are appropriate and you parse its
output back. It may not be pleasant to do, but doesn't require particular
skills either. You'd better be very sure it really has a benefit over
using a separate GAP process, because it'll be quite a bit of work.
Grep for `Exec` to see where the interfacing takes place.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:149>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.