ccampbell/rainbow — pull request #59 by frankshearar (2012-06-13 21:54:16+00:00)
Title: Smalltalk support

Here's support for highlighting Smalltalk.

It concentrates on highlighting Smalltalk expressions and snippets, rather than the idiosyncratic "chunk" format ([example](https://github.com/frankshearar/PersistentUnionFind/blob/master/Extensions/Dictionary.st).

There are some limitations: it's not possible to distinguish between variable names and no-parameter message sends (i.e., method calls) without more context than a regex can provide.

Still, the branch highlights Smalltalk code reasonably well.

I haven't written any tests: I see there's a tests/test.js but I couldn't see how to run the tests. If you'd prefer tests, I'll happily write them, if you don't mind hinting at how I can run the tests.

Thanks!