Of course, a "file" below must be replaced with something faster, some channel, memory buffer for the interchange, or such. Sergei.
> > If you are satisfied with interfacing only to selected > > family of "heavy" functions, then you may consider > > socket interace: have FriCAS running as separate > > process and interchange data via sockets. You need > > to write routines to pack and unpack data on both > > sides of connection, but it is probably less work than > > other approaches. > > I am thinking of this. I do not know what is a socket. > But let it be say, a file call.txt > > The haskell function applies > factorPolynomialOverInteger f = > let > str = concat ["res = factorPolynomialOverInteger_axiom ", > show f, "; writeToFile \"result.txt\" res" > ] > in putString "call.txt" str > > (a contrived code, needs correction) > [...] -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" 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/fricas-devel?hl=en.
