Textmate grammar (.tmLanguage files) are sometimes expressed in XML format.
I would like to convert to a more readable format (i.e. JSON or YAML) to integrate in a VS Code Syntax Highlighting Extension.
To clarify what I mean, here are a few examples:
- XML format
- YAML format (equivalent to the previous one)
- JSON format
I could write a script in Python to do that but it would save me some time if such converter already exists.
Thanks