>> Can the splitting and recombination of such rules become more convenient
>> with extensions for the Coccinelle software?
>
> In general it can't.

This feedback seems to fit to the current software situation.


> Coccinelle doesn't have the goal of minimizing the number of characters
> in te semantic patch.

Such a view has got consequences.

* We tolerate additional characters in source files according to
  coding style variations.

* Some source code duplication can become questionable (also in SmPL
  search specifications).


> It has the goal of making readable specifications that follow the structure
> of the matched code.

I hope that this approach can become easier and more convenient.
I got another idea for this purpose.
How do you think about development possibilities around the following
software extension?

Additional key words would help in rule headers of the semantic patch language,
wouldn't they?
* prepend to
* append to
* enclose

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to