[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

Google Closure Compiler Frontend + JavaScript Packers

0ntariokingston

6/8/2015 6:24:00 PM

www.whak.ca/javascript-packer.html will compress data to self extracting and self running/executing JavaScript code from JavaScript source code. It can pack using compression algorithms GZIP, LZMA and BZIP, plus some standard search/replace packers that target repetition.

You can also minify & fix minor errors (like missing semi colons) through Google Closure compiler without leaving the page.

What is the Closure Compiler?

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript.. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

What are the benefits of using Closure Compiler?

Efficiency. The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs. Code checking. The Closure Compiler provides warnings for illegal JavaScript and warnings for potentially dangerous operations, helping you to produce JavaScript that is less buggy and easier to maintain.
2 Answers

0ntariokingston

6/12/2015 11:24:00 PM

0

Made an advanced version on www.whak.ca/javascript-compression.htm (it now has over 20 client side self extracting/executable JavaScript packers.

On Monday, June 8, 2015 at 2:23:47 PM UTC-4, Dave Brown wrote:
www.whak.ca/javascript-packer.html will compress data to self extracting and self running/executing JavaScript code from JavaScript source code. It can pack using compression algorithms GZIP, LZMA and BZIP, plus some standard search/replace packers that target repetition.

You can also minify & fix minor errors (like missing semi colons) through Google
> What is the Closure Compiler?
>
> The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
>
> What are the benefits of using Closure Compiler?
>
> Efficiency. The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs. Code checking. The Closure Compiler provides warnings for illegal JavaScript and warnings for potentially dangerous operations, helping you to produce JavaScript that is less buggy and easier to maintain.

0ntariokingston

6/26/2015 2:16:00 PM

0

www.whak.ca/packer/JavaScript.htm - Had to fix couple glitches in the advanced version, so here is a new page...

www.whak.ca/packer/CSS.htm - CSS to JavaScript Packer
www.whak.ca/packer/HTML.htm - HTML to JS Packer