mozilla/rust — pull request #8031 by graydon (2013-07-25 00:10:27+00:00)
Title: rewrite rust-mode to use font-lock-mode and emacs builtin syntax analysis

The previous mode did a lot of very manual char-at-a-time parsing and was quite fragile and difficult to maintain. I talked to Marijn and he suggested I'd have better luck just rewriting it from scratch. This is the result of that effort; it seems to be faster, a bit easier on the eyes and more-or-less as well behaved when indenting. The algorithm is a bit different I suspect (it was hard to tell the previous one) but I tried to keep it simple and pleasant-looking.