How to Install coccinelle on Mac using Brew

Package Information:

Name: coccinelle
Use: Coccinelle is a program matching and transformation engine which provides the language SmPL (Semantic Patch Language) for specifying desired matches and transformations in C code.
URL: http://coccinelle.lip6.fr/

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Copy the below command and execute

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install coccinelle using brew
    brew install coccinelle

coccinelle is ready to use now!