ST3 has format of "lexers", .sublime-syntax (new one) and old one. Do you think it's possible to write open source parser (so I can check it too and fix bugs) based on ST3 syntax files?
If it's done we can use LOT of ST3 syntax files from https://packagecontrol.io/browse/labels ... e%20syntax

Writing a source code editor and syntax files is usually done side by side. Everyone has their own idea of how things should be done - so syntax files differ a lot between editors. I actually think it's a bad idea to start with existing syntax files and create a parser or editor based on them. You'll just end up feeling frustrated about the "limitations" in the syntax files and regret things you wont be able to do differently.