On 22/01/07, Eric Y. Kow <[EMAIL PROTECTED]> wrote:
There is are quite a few scripts and 3rd party programs (c.f.
TortoiseDarcs, trac-darcs, etc) that do the whole "run darcs and parse
its output" dance.  Perhaps you could get together and pool efforts
towards a library for that.  Maybe one day when darcs does get a proper
library of its own, you could just flip the code over to use that.

Thanks very much for the pointers.

trac-darcs has a python class which drives the command-line darcs
client and exports a couple of functions. changes, annotate and
simulate_cat (which cleverly does a 'darcs diff', passing in 'cat %2'
as the diff command to get the effect of the non-existing 'darcs cat'
command :-)

TortoiseDarcs has more extensive wrappers as part of a C++ class,
again driving the command-line client.

[It looks like people are driving darcs from emacs lisp and perhaps scheme too]

I don't think I have the energy to write a C-level library which would
be useable by these languages and perl. But they do provide useful
pointers to help me perhaps produce a similar wrapper in perl, so
that's very useful, thank you.

regards,

jb
_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to