Hello Olivier On Nov 2 2005, Olivier Lefevre wrote:
If you want to invoke darcs from another program (not in haskell), what are your options?
I'm considering the same question, as I'm in the midst of writting a gui for darcs on Mac OSX. (see http://patchworks.counsell.org if you want to play, but please bear in mind it is very very alpha).
So far I have found options: * Having my program be a user and just feed stuff to darcs using stdout and reading stdin. This is complicated because darcs is not 100% consistent in the way it prompts users. I'm thinking about submitting a patch to help rectify this. * Recompiling darcs so that it presents an C api. I have read a bit about doing this in the Haskel docs, and it looks tempermental.
Grateful if anyone else has ideas, or wants to work on making a programatic api for darcs.
Tom _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
