As I unfortunately do not have the time would any of you guys be willing to write a Rouge lexer for Nim?
It is what http://learnxinyminutes.com/docs/nim/ uses to do its syntax highlighting and it would be nice to give Nim its proper syntax highlighting. If you're willing then take a look here.
Okay - everything is almost done. I forked rouge and added a nim.rb as pretty much a one-to-one port of the Pygments NimrodLexer class. I kind of just learned enough Ruby to do this as I went, so the implementation (I suspect especially for the implementation and use of the underscorize method) is probably not very idiomatic.
It should all be available in the NimLexer branch of my fork https://github.com/singularperturbation/rouge/blob/NimLexer/lib/rouge/lexers/nim.rb; I did testing for this and everything looks to be working okay.
Still to do: