Hello,
for a research project I try to utilize the group calculation facilities of
GAP. Due to performance and design issues the main program implementing
various algorithms is written in C and C++. For using GAP I wrote a wrapper
class (which uses popen and two pipes) for the GAP binary and its command
line. The problem here is that on writing a "g := Group(...);" command
the "gap> "-prompt appears twice (whereas on other used commands it appears
only once), so I have no unique easy mark to use to recognize the end of a
GAP calculation. Treating the group assignments separately waiting for two
prompts would be possible, but this is not a very general approach.
Do you know a better way to interface GAP for this purpose or a flexible
workaround for the prompt-mark problem?
Best regards,
Thomas.
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de
_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum