Subj : SUCCESS! Re: Compacting JS source via ParseTree or Decompile To : netscape.public.mozilla.jseng From : Dan Libby Date : Wed Jun 09 2004 02:18 am Local and argument renaming is working!! Results: Original script: 119024 jscompact, no renaming: 61736 (saved 48%) jscompact, w/ renaming: 44104 (saved 63%) And all of this before gzip compression by the webserver, which will squeeze it further. :) Brendan, many thanks for all your help. Without your insightful comments, I'm sure I'd have already given up. I feel you are as much the author as I am. Okay, so tomorrow I have some cleaning up to do, and some testing. After that, I plan to release this. My first inclination is to put it on Sourceforge. I think that will give it the most visibility, and one of the reasons I wrote it was to create a viable open-source alternative to the [mostly crappy] commercial programs some companies are charging [imho] too much for. But given that the tool is mostly just a wrapper for existing libjs functionality and it uses internal data structures, perhaps it belongs at mozilla.org. I'll do you as you folks prefer in that regard. For licensing, I can either do straight GPL or MPL/GPL mix. Any advice? thanks again! Dan .