a++ +b that is ok. Internet Explorer conditional comments are retained in the output. My code was inspired by Douglas Crockford's JSMin but is a complete rewrite to add these features.
If you want to download the module right now from my subversion repository...
I'm also working on a CSS minification program in Perl that is not yet well tested:
svn co http://dev.michaux.ca/svn/random/CSS-Minifier/
Why Perl you ask? Because that is the server-side language used where I work.
Update August 3, 2007 - I've uploaded the CSS::Minifier module to CPAN and it should appear there soon.
Have something to write? Comment on this article.