Sublime Syntax is a grammar language created in 2008.
|#1928on PLDB||15Years Old|
Sublime Syntax files are YAML files with a small header, followed by a list of contexts. Each context has a list of patterns that describe how to highlight text in that context, and how to change the current text.
%YAML 1.2 --- name: C file_extensions: [c, h] scope: source.c contexts: main: - match: \b(if|else|for|while)\b scope: keyword.control.c