News for hackers. Stuff that matters.
Re:Js2js: A revolutionary open-source compiler from JavaScri... by LukeShu on Thursday February 05, 2015 @03:41PM (#9005892)
The footer says that if you want a real "Javascript to Javascript interpreter", to see js.js[0], which is a JS interpreter written JS; where the satirical js2js is a JS-to-JS compiler, something different. If you want a real JS to JS compiler, see Google's "Closure Compiler"[1].

[0]: https://github.com/jterrace/js.js/

[1]: https://developers.google.com/closure/compiler/ / https://github.com/google/closure-compiler

Re:Js2js: A revolutionary open-source compiler from JavaScri... by grayrest on Thursday February 05, 2015 @03:44PM (#9005917)
In the intervening years we've accumulated more js2js compilers. IMO the best one is 6to5 [1].

[1] http://6to5.org/

Re:Js2js: A revolutionary open-source compiler from JavaScri... by pkulak on Thursday February 05, 2015 @03:42PM (#9005908)
Here's the real nut-meat

    Js2JsCompiler.prototype.compileCode = function(code) {
        return code; // as we need to compile javascript to javascript, we do nothing here :)
    };
Very helpfully commented!
Re:Js2js: A revolutionary open-source compiler from JavaScri... by ithkuil on Thursday February 05, 2015 @03:40PM (#9005883)
It can also decompile JS back to JS, cool!
Re:Js2js: A revolutionary open-source compiler from JavaScri... by mgingras on Thursday February 05, 2015 @03:50PM (#9005975)
Can you generate a map file for in-browser debugging?
Re:Js2js: A revolutionary open-source compiler from JavaScri... by adnanh on Thursday February 05, 2015 @03:44PM (#9005923)
What is up with all these troll projects recently?
Re:Js2js: A revolutionary open-source compiler from JavaScri... by wwweston on Thursday February 05, 2015 @03:51PM (#9005983)
Are you talking about:

(a) the obvious trolls, where the fact that it's a diversion is visible quickly from the text/code, or (b) the non-obvious trolls, where a significant chunk of the industry enthusiastically adopts something with marginal benefits not only as a tool but an aspirational standard for 3-5 years before judging it either a dead-end or inferior to the new hotness?

Re:Js2js: A revolutionary open-source compiler from JavaScri... by adnanh on Monday February 09, 2015 @08:42AM (#9021074)
Both!
Re:Js2js: A revolutionary open-source compiler from JavaScri... by VOYD on Thursday February 05, 2015 @03:48PM (#9005956)
IKR?
Re:Js2js: A revolutionary open-source compiler from JavaScri... by ttcbj on Thursday February 05, 2015 @03:49PM (#9005973)
Funny!
Re:Js2js: A revolutionary open-source compiler from JavaScri... by skorecky on Thursday February 05, 2015 @03:49PM (#9005967)
eval();