User: Password:
|
|
Subscribe / Log in / New account

Semantic patching with Coccinelle

Semantic patching with Coccinelle

Posted Jan 20, 2009 22:34 UTC (Tue) by biehl (subscriber, #14636)
Parent article: Semantic patching with Coccinelle

I wonder if someone has ever compared

Dehydra ( https://developer.mozilla.org/en/Dehydra )
GTK-rewriter ( http://people.imendio.com/richard/gtk-rewriter/ )

and maybe other tools ( http://blog.mozilla.com/tglek/2008/09/02/converging-elsa-... ) to Coccinelle?


(Log in to post comments)

Semantic patching with Coccinelle

Posted Jan 21, 2009 1:30 UTC (Wed) by padator (guest, #56235) [Link]

From the web pages of Deydra and gtk-rewriter it seems deydra
does not support any transformation (just analysis, and you have
to write javascripts code apparently to match over C code), and gtk-rewrite
have a few transformations hard-coded in a file. The goal of coccinelle
is to make it easy to specify code patterns and transformations. You
use a syntax you already know for that: C (not javascripts on ASTs), and
the patch syntax.

For elsa I can not speak, it's not clear what is their goal
and what they can do.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds