A partially completed, bug ridden CSS parser written in treetop (please fork me)
The CSS 2 spec is at:
http://www.w3.org/TR/REC-CSS2/cover.html
[Deprecated] Please use https://github.com/neopoly/css_dryer instead.
PostCSS Tools and Plugins
Parse, create and work with CSS files in ruby