Text-Sass - A Perl implementation of Sass http://sass-lang.com/ This is most definitely a work-in-progress. It only implements a subset of the specification but it's being actively developed so if there's functionality missing, drop me a line at rmp@psyphi.net and send me a patch. And yes, this should all really be done with a proper language tools, i.e. grammar, parser, tokeniser etc. Bugs & Limitations - Compound class/id/element are unreliable: .element1, .element2 ... - Variables are currently global. This can be quite unpleasant.