sublime-levels icon indicating copy to clipboard operation
sublime-levels copied to clipboard

Support for other languages? Primary Clojure

Open schovi opened this issue 12 years ago • 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!

schovi avatar Jun 03 '13 09:06 schovi

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?

mazurov avatar Jun 04 '13 07:06 mazurov

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.

alexandergunnarson avatar Jun 13 '13 18:06 alexandergunnarson

+1 for Coffeescript

franciscolourenco avatar Jul 31 '13 15:07 franciscolourenco