www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Coccinelle

reply bearophile <bearophileHUGS lycos.com> writes:
Sometimes D changes, and this requires many simple changes in Phobos. In such
and other cases to save some time I suggest D developers (Walter too) to take a
look at the free Coccinelle tool:
http://coccinelle.lip6.fr/

I think Coccinelle works on D code too (untested). It allows to define safe
semantic patches, that despite being very short, are able to patch lot of code
in seconds. Coccinelle looks useful for DMD/druntime too.

Bye,
bearophile
Jan 04 2011
parent Lutger Blijdestijn <lutger.blijdestijn gmail.com> writes:
bearophile wrote:

 Sometimes D changes, and this requires many simple changes in Phobos. In
 such and other cases to save some time I suggest D developers (Walter too)
 to take a look at the free Coccinelle tool: http://coccinelle.lip6.fr/
 
 I think Coccinelle works on D code too (untested). It allows to define
 safe semantic patches, that despite being very short, are able to patch
 lot of code in seconds. Coccinelle looks useful for DMD/druntime too.
 
 Bye,
 bearophile
OT: the picture with the ninja turtle reference and tux bashing a bug is hilarious, just need a D man to join the party!
Jan 04 2011