After briefly thinking about Javascript parsers, I did a quick search for CSS parsers, and found, as El Guapo might say, a plethora of piñatas.
Here's a few which caught my attention:
I'm really intrigued that there are so many parsers written in Ruby.