I want to implement #32 and fix some bugs in the syntax highlighting but working with the TextMate grammar in JSON is a miserable experience. Building the JSON from a YAML file is a huge improvement.
YAML Advantages Over JSON
Multi-line strings for commented regexes
No double escaping regexes
Basic code re-use with YAML anchors
Less typing with unquoted strings
No complains about trailing commas (this drives me crazy in JSON)
Later we can add variable substitution and includes if needed.
I want to implement #32 and fix some bugs in the syntax highlighting but working with the TextMate grammar in JSON is a miserable experience. Building the JSON from a YAML file is a huge improvement.
YAML Advantages Over JSON
Later we can add variable substitution and includes if needed.
What I Did
CONTRIBUTING.md
Building the Grammar
This will run
build/grammar.mjs
.