microsoft / vscode-css

CSS Textmate grammar for syntax highlighting
Other
17 stars 14 forks source link

Convert CSON syntax file to JSON #23

Open radium-v opened 12 months ago

radium-v commented 12 months ago

The original source file is written in CSON, which is difficult to read and the tools needed to maintain it are relatively out of date or obsolete. Additionally, some of the features used in the CSON formatting, like comments in multi-line regex matches, cause the converted formatting to be difficult to parse (and I'm not 100% sure the end result is valid - it probably is, but debugging is made worse by it).

The syntax definitions should be converted from CSON to JSON (and maybe YAML in the future, as suggested by the docs).