-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Can we use something different then tmLangage
?
The xml syntax makes it super hard to read, and prevents me personally to make any contributions.
The file format is very simple, so we can use CSON
, YAML
, typescript
, scala
... as a source language, that would be compiled by some very simple pipeline to the tmLanguage
file, or event better to the tmLanguage.json
file (which can be validated against json schema).
I think the chosen format should support at least comments and string interpolation, without string interpolation complex regexes become super tangled. Also we can use plain yaml as template and interpolate variables with a preprocessor (but native support is better).
See dhall-tmlanguage.ts for imperfect example of what I mean.
Of course I can do it locally and contribute the resulting tmLanguage
file, but then I risk getting superficial changes because I can't guarantee the exact order of fields in the file.