Re:Csscss: a CSS redundancy analyzer that analyzes redundancy
by zmoazeni on Wednesday April 10, 2013 @11:23AM
(#5525683)
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.
Stay away from the RedundancyAnalyzer though. There be dragons.
[1] http://kschiess.github.io/parslet/
[2] https://github.com/zmoazeni/csscss/tree/ae2f22f4416bca35f903...