bugmagnet
bugmagnet

Reputation: 7769

Google closure compiler for other languages?

Are there any equivalent tools to Google Closure Compiler for other languages? For instance, it'd be nice to have one for PHP which would figure out the optimal from my suboptimal code.

Upvotes: 1

Views: 130

Answers (1)

Mark Hurd
Mark Hurd

Reputation: 10931

This compiler's result reduces the amount of source code needed to download while still producing the same results. This is less relevant for systems that compile the code, even if just to p-code, and the code is also not sent "over the wire" to the client-side before being executed.

However, as pointed out by @ChadKillingsworth the parsing and semantic checks are clearly features of a compiler that could be benefical to any interpreted language, even if the output is otherwise ignored.

A Google search shows http://www.phpcompiler.org/ is one answer, although it hasn't been updated for almost a year.

Upvotes: 1

Related Questions