Sublime Forum

Sublime DSL

#1

I developed a set of Ruby DSLs to configure Sublime Text 2:

github.com/thyresias/sublime_dsl

Let me know what you think.
Cheers.

0 Likes

#2

Just released 0.1.2

  • fixed a few bugs
  • SYNTAX.md now hyperlinked from README.md
0 Likes

#3

But what’s the point?

0 Likes

#4

Use a decent programming language to define grammars, mainly.
This is analogous to the advantages of SASS or LESS over CSS.
I also find it easier to understand configuration files (e.g., key bindings) in DSL rather than JSON format.

0 Likes

#5

[quote=“thyresias”]

Use a decent programming language to define grammars, mainly.
This is analogous to the advantages of SASS or LESS over CSS.
I also find it easier to understand configuration files (e.g., key bindings) in DSL rather than JSON format.[/quote]

Weird, I find Ruby horrible to read. At least pick a good DSL, like Groovy.

That said, configuration in json works very well and is understood by everyone.

0 Likes

#6

Matter of taste. :wink:

0 Likes

#7

Please do not hesitate to use the issue tracker if you find problems or have suggestions:
github.com/thyresias/sublime_dsl/issues

0 Likes