I’m looking for a tool or maybe tool set to help me create language syntax definition.
I expect following features:
- fully open source (no need to use sublime text’s proprietary syntax engine)
- support textmate’s
.tmLanguage
file format (I’m aware that sublime’s.sublime-syntax
is more powerful, but I want to use this syntax for many other purports, like github linguist) - easy to write test cases (sublime support an elegant way to do it) and run automatically
The unittest package of sublime text provide most of them. But it rely on sublime text’s proprietary syntax engine.
It makes the development of syntax definition bonded to sublime text. That’s what I want to avoid.
Any advice is appreciated. I’m open to popular programming languages, python, javascript, typescript, c/c++, rust and others.