greplytix / Hamlbars

Sublime Text 3 Syntax highlighting for .hamlbars files which is a combination of both Haml and Handlebars
MIT License
2 stars 0 forks source link

Is python the only language allowed? #5

Closed anthonykulis closed 9 years ago

anthonykulis commented 9 years ago

I brought up python, but that was from a 30 second search. Is python the correct language? Is it the only language? If not, is it the best language for the job? Why?

ghost commented 9 years ago

For all intents and purposes, Python is the language for extending Sublime Text. In my research, I've seen no other mention of extending Sublime text with any other language, unless of course one counts the inclusion of object notation or markup as discussed in the Serialization Options section of #9. Counting languages such as those, it's not the only language, but it's the one that ties everything together.

Though I'm sure somebody out there uses something other than Python (perhaps by transcompilation to Python?), it's what's used in all of the tutorials and documentation I've seen. This page from the official Sublime Text website says, "Sublime Text is extensible via Python." It mentions no alternatives, but links to extremely useful API documentation making use of Python here.

In the end, Python is the best language for the job because it appears to have 100% of the official and community support in regard to extending Sublime Text.