Coccinelle

(docs.kernel.org)

22 points | by josephcsible a day ago ago

4 comments

  • zahlman a day ago ago

    Am I missing something? I see a lot about how to install and run this "tool for pattern matching and text transformation", but basically nothing that concretely explains how to tell it what patterns to match or text transformations to apply. It seems to be using a language called "SmPL" for this but I had to do a separate search for that and even then the only real documentation I could find was a reference grammar (https://coccinelle.gitlabpages.inria.fr/website/docs/main_gr...).

  • _blk a day ago ago

    Coccinelle is French for lady bug. Cool tool. It's been around for what feels like forever but outside of the Kernel, people unfortunately still seem to prefer regex.

    I also met Julia when I did an exchange semester at diku, Copenhagen, DK. She's really nice. :)