News for hackers. Stuff that matters.
Re:ShiftJS – Swift to JavaScript transpiler by zephyz on Monday August 15, 2016 @07:26AM (#12289716)
Why didn't they fork the actual swift compiler that does all the lexing, parsing, syntax checking, type checking, SIL generation, LLVMIR generation, and add a final phase that compiles to JS?

This whole project seem like a lot of duplicated, wasted (and error prone) work

Re:ShiftJS – Swift to JavaScript transpiler by bsaul on Monday August 15, 2016 @08:08AM (#12289886)
Wondered the same thing. I thought maybe a sil to js project could be a good target, keeping enough semantics to be able to be smart in the generated js code, rather thab llvmir.

I looked for such a project a few days ago but didn't find anything.