Semantic patching with Coccinelle
Semantic patching with Coccinelle
Posted Jan 22, 2009 16:28 UTC (Thu) by padator (guest, #56235)In reply to: Semantic patching with Coccinelle by rwmj
Parent article: Semantic patching with Coccinelle
This is not true. What you are talking about is different and is called
meta-programming. The need to refactor code is different. Even in OCaml
you often need to refactor code and there is no tool right now for OCaml
that does that. In fact we, in the coccinelle project, had in the past internally needed to refactor the coccinelle code and it was painful.
So I guess the comment of the other guy was right on the point; we decided to do
a semantic patching tool for C rather than a semantic patching tool for OCaml because there are more people writing C code :)