#6391: libGAP!  -- create a Cython library interface to gap
----------------------------------------------------------------------------+
       Reporter:  was                                                       |   
      Owner:  was                                                     
           Type:  enhancement                                               |   
     Status:  needs_review                                            
       Priority:  major                                                     |   
  Milestone:  sage-5.3                                                
      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:  #13211                                                    |   
   Stopgaps:                                                          
----------------------------------------------------------------------------+

Old description:

> There's libSingular, there's libPari, and next we need to create libGAP.
>
> To try it out,
>   * Install http://www.stp.dias.ie/~vbraun/Sage/spkg/gap-4.5.5.spkg from
> #13211
>   * Install http://www.stp.dias.ie/~vbraun/Sage/spkg/libgap-4.5.5.spkg
>   * Apply [attachment:trac_6391_libGAP.patch] to the Sage library

New description:

 There's libSingular, there's libPari, and next we need to create libGAP.

 To try it out,
   * Install http://www.stp.dias.ie/~vbraun/Sage/spkg/gap-4.5.6.spkg from
 #13211
   * Install http://www.stp.dias.ie/~vbraun/Sage/spkg/libgap-4.5.6.spkg
   * Apply [attachment:trac_6391_libGAP.patch] to the Sage library

--

Comment (by vbraun):

 Ok, done. Comparison works now:
 {{{
 sage: libgap('test') == libgap.Concatenation(libgap('te'), libgap('st'))
 True
 }}}

 I made one incompatible change: since `libgap` is the parent to all gap
 elements, it should do element construction for strings:
 {{{
 sage: libgap('1+1')
 "1+1"
 sage: type(_)
 <type 'sage.libs.gap.element.GapElement_String'>
 }}}
 To evaluate a GAP command in a string, you now have to use
 {{{
 sage: libgap.eval('1+1')
 2
 }}}
 Since we aim at wrapping more of GAP one expects that the `libgap.eval`
 method becomes less useful over time.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:97>
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.

Reply via email to