Compressing Javascript
[email protected] ("Simpson, Jr, Joe B.") Wed, 5 Mar 2003 12:25:32 -0500
| Newsgroups | perl.recdescent |
|---|---|
| Message-ID | <[email protected]> |
Andrew, I was searching for Javascript compression tools in order to reduce our users' download time, and found none - but did find this query you posted. Were you ever able to create this compressor, or find a correct grammar for Javascript? Thanks... Joe Simpson Research Triangle Institute [email protected] >To: <[email protected]> >Subject: Javascript grammar? >From: "Andrew G. Hammond" <[email protected]> >Date: Tue, 17 Sep 2002 14:15:42 -0400 >Delivered-to: mailing list [email protected] > >I'm looking for a grammar to parse javascript. Anybody know where I could >get one? > >The goal is to create a javascript compressor which maintains semantic >equivilance while minimizing size of a javascript file (remove whitespace & >comments without mangling strings, rename identifiers using variable length >huffman codes).