mazurov/sublime-levels

Support for other languages? Primary Clojure

Opened this issue · 3 comments

How hard it will be to add support for other languages?
If it could works with Clojure it will be win win plugin!

I'll keep in mind your request. Support for other languages depends on what tools exists for extracting syntax and semantic information from the code. For each new language it should be a tool that return a simple list : (level1:int, start_position1:int, end_positon1:int),...,(levelN:int, start_positionN:int, end_positonN:int). Do you know the tool like this for clojure?

I second schovi's request. I'm pretty sure there are a whole host of people who would third, fourth, fifth, etc. his suggestion. Scope coloring in Clojure would be, in principle, easier than scope coloring in JS because Clojure's Lisp-like structure fits right in with the AST, making the syntactic and semantic extraction easier (in theory).

I don't know of any tools like this for Clojure, sorry. I'll keep a look out for them, though.

+1 for Coffeescript