On Saturday, 17 January 2015 at 18:00:01 UTC, Andrei Alexandrescu wrote:
Would be a nice tools/ thing. Wanna do it/ --- Andrei

First try:

https://github.com/schuetzm/shrinkcss/blob/master/shrinkcss.d

Reads from stdin, writes to stdout. Removes comments, superfluous whitespace, and the closing ";" before "}".

WARNING: This is mostly untested, the lexer is probably missing a few corner cases.

Reply via email to