mechanical / automated way to convert VSCode tmLanguage.json to Lezer ?

Are there any tools to mechanically / automatically convert VSCode tmLanguage.json definitions to Lezer?

For example:

No, those are not at all like context-free grammars, so that’s probably not a thing that can be done.

1 Like