Skip to content

SmPL (Coccinelle) Syntax for Sublime Text

License

Notifications You must be signed in to change notification settings

jtojnar/Sublime-SmPL-Syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SmPL Syntax for Sublime Text

This is syntax definition for SmPL (semantic patch) language used by the Coccinelle tool.

I converted it from John Gardner’s Atom syntax.

Installation

You can install this package using Package Control using the name “SmPL (Coccinelle)”.

For development, you will want to clone the repository into “SmPL (Coccinelle)” directory in the Sublime Text’s Packages directory (PreferencesBrowse Packages…):

git clone git@github.com:jtojnar/Sublime-SmPL-Syntax.git 'SmPL (Coccinelle)'

(Or create a symlink with such name from your projects directory.)

Usage

After installation, the syntax should automatically apply to files with .cocci extension.

Useful links