Hacker News new | ask | show | jobs
by zmoazeni 4812 days ago
If you're a ruby developer I strongly encourage you to check out the source code and parsing in general. This is heavily using parslet [1] to build a css parser [2]. I'm sure there are edge cases I have missed, but still the LOC for this codebase is relatively small and fairly readable.

Stay away from the RedundancyAnalyzer though. There be dragons.

[1] http://kschiess.github.io/parslet/

[2] https://github.com/zmoazeni/csscss/tree/ae2f22f4416bca35f903...