Any plans on adding Sublime3 support?
Hi, are there any plans on adding Sublime3 support? What is the technical work involved in adding support for Sublime3 exporter? (Hoping I may be able to contribute in some way towards this)
PS: Appreciate the CLI effort for iro. Seems like an awesome tool :)
Hi @shrsv, thank you for your interest in contributing to Iro! The reason that I have held off on implementing support for Sublime 3 up until now is partly because it has several ways of taking inputs for syntax highlighting, those being:
- Textmate (
.tmLanguage) files - Sublime's own format (
.sublime-syntax)
Since Textmate is already supported in iro4cli, I didn't have the motivation at the time to write the compiler for conversion into .sublime-syntax. It would be entirely possible, and there is a well-documented specification for the syntax of it here, so it would not be out of the question at all to add support.
If I can find time to work on this in the near future, I will add support for it into the program, or, if you would like to contribute support for .sublime-syntax output that would be greatly appreciated! I hope this answers your question.
Hi @c272, thanks for the detailed response!
I was not aware that Sublime supports Textmate grammar format. What confused me was the "unticked" item in the README next to sublime, and I wanted to find whether there is some way to support Sublime. I think it'll benefit future users if some parts of the description you've stated above is included in the README.
Again, thanks for taking the time/effort to build this awesome tool. I've relied on it for creating syntax highlighters for my FOSS project & it works great.
No problem! And you are right, the wording in the README makes it slightly confusing as it seems to imply that Sublime is completely unsupported. I will change the wording and clarify that it's just support for the .sublime-syntax file format.
I'll keep this issue open until I've fully implemented Sublime support just in case anyone else has the same issue. Thank you!