[GAP Forum] Communicating with GAP in C++

Jonathan Gryak gryakj at gmail.com
Mon Apr 20 00:07:01 BST 2015


Hi Dmitrii,
Unfortunately, it doesn't seem clear to me how to actually use libGAP in
C++. I was hoping that someone would be able to provide some guidance on
how to do so.

On Sun, Apr 19, 2015 at 6:13 PM, Dmitrii Pasechnik <
dmitrii.pasechnik at cs.ox.ac.uk> wrote:

> On Sun, Apr 19, 2015 at 12:25:48PM -0400, Jonathan Gryak wrote:
> > According to the FAQ:
> >
> > > What you can do is to run GAP in a child process and communicate with
> it
> > > using pipes, pseudo-ttys, UNIX FIFOs or some similar device. We have
> done
> > > this successfully in a number of projects, and you can contact the
> support
> > > list for more detailed advice if you want to go down this route.
> >
> >
> > Unfortunately I can't seem to find any documentation or post in the Forum
> > or elsewhere which shows this process. Any suggestions?
>
> what you can do if you need to call GAP from C/C++ is to use libGAP
> https://bitbucket.org/vbraun/libgap
>
> (this is going to be faster than pipes/pttys/etc...)
>
> HTH,
> Dmitrii
>


More information about the Forum mailing list