[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#512658: ITP: coccinelle -- semantic patching tool for C



Eugeniy Meshcheryakov a écrit :
> pycaml version in coccinelle is modified. Diff can be found in 
> pycaml/modif-orig.txt (not complete). The most important part,
> it seems, is:
> [...]
> Is it possible to provide those functions in Debian pycaml package
> (at least experimental)? I can make patch if such API changes are acceptable.
> Or maybe there is some way to emulate them?

Have you tried to contact pycaml upstream? It would be the proper
location to submit a patch. Moreover, your functions look like they
could be put outside of pycaml. The pycaml_setargs doesn't look generic
enough. Maybe pywrap may cause problem, but if there is something that
converts Py_True and Py_False to a C int (or directly a C version of
them) in the Python library (and I bet there is), you can drop the
dependency on pywrap. I'd rather prefer making proper stubs for
coccinelle, and waiting for upstream pycaml to incorporate your patch.

> Coccinella uses both menhir command with --table parameter, that is not
> found in current Debian package (but is present in upstream) and menhirlib
> (not in Debian AFAICS).

menhir is being updated.


Cheers,

-- 
Stéphane


Reply to: