Howdy.
There is a new syntax grammar in the Experimental bundle. It scopes a bunch of things that I think the main Ruby syntax should be scoping. Since so many people use Ruby, I don't want to make any major changes to it without getting some serious feedback.
It could be that some of this stuff should be kept separate in a wrapper grammar for ruby, i don't know.
If you are interested in Ruby and the Ruby parsing and coloring that TextMate does, please check out this new language and give us all your feedback.
Also, I updated the Brilliance Black theme (in the official textmate svn repo) to support all this new stuff. If you're checking out the new stuff, this theme will show it in all it's glory.
Enjoy
thomas Aylott — design42 — subtleGradient — CrazyEgg
On Nov 11, 2006, at 11:22 AM, Allan Odgaard wrote:
On 11. Nov 2006, at 14:36, thomas Aylott wrote:
There is a new syntax grammar in the Experimental bundle. It scopes a bunch of things [...]
Is the intention that we’re going to read the grammar to actually figure out what? :p
Ok, I just updated both the grammar and theme.
the syntax now supports: all operators (arithmetic assignment.augmented assignment comparison logical unary other)
Function-Call howdy('')
Function-Call.Method.With-Arguments fred.howdy('doing')
Function-Call.Method.Without-Arguments fred.howdy
A huge list of known ruby function and method names (stolen from Mats)
Maybe some other stuff too.
thomas Aylott — design42 — subtleGradient — CrazyEgg