3 ms·
Spent the last few nights hacking together a fuzzy parser for a superset of CSS that expands nested rules like SCSS does. First time trying a fuzzy parser; it d
by eatonphil 5y ago
Spent the last few nights hacking together a fuzzy parser for a superset of CSS that expands nested rules like SCSS does. First time trying a fuzzy parser; it doesn't know any details of CSS selectors or property values. But it does know about comments and strings so it seems fairly safe. It's working out surprisingly well so far and is around 200 LoC.
https://github.com/multiprocessio/cssplus https://github.com/multiprocessio/cssplus