the following works with Sage 9.6.rc1
sage: t=libgap.function_factory('''function()
....: local Q, KQ, rel, A;
....: LoadPackage("qpa");
....: Q:=Quiver(3,[[1,2,"a"],[2,3,"b"]]);
....: KQ:=PathAlgebra(GF(3),Q);
....: AssignGeneratorVariables(KQ);
....: rel:=[a*b];
....: A:=KQ/rel;
....: return A;
....: end;''')
sage: t()
#I Assigned the global variables [ v1, v2, v3, a, b ]
<GF(3)[<quiver with 3 vertices and 2 arrows>]/<two-sided ideal in
<GF(3)[<quiver with 3 vertices and 2 arrows>]>, (1 generators)>>
sage:
I won't want to touch GAP's pexpect interface...
On Sun, Apr 24, 2022 at 8:57 PM Andrey Novoseltsev <[email protected]> wrote:
>
> This has been reported at https://github.com/sagemath/sagecell/issues/560 but
> as far as I can see is the problem of GAP interface in Sage itself. Perhaps
> somebody familiar with it may want to take a look ;-)
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/4247d756-91f0-49f5-aa4d-20a5e6baf662n%40googlegroups.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3VYdjMc%2Ba-2C4iBDbP0Hpo6rFz3_ZAQqt2nzosN%2Bd51A%40mail.gmail.com.