Measures Concepts
GitHub icon

Sublime Syntax

Sublime Syntax - Grammar language

< >

Sublime Syntax is a grammar language created in 2008.

#1979on PLDB 16Years 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.


Example from the web:
%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

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout