shift-js / shift-js

Swift to JavaScript transpiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why not leverage LLVM? [meta]

mklbtz opened this issue · comments

While this project has clearly atrophied, it is nonetheless very intriguing.

But I'm curious: why the effort to recreate a parser for generating Swift AST when the Swift compiler — or, more accurately, LLVM — already does this? With the AST problem already solved, this project could have focused on generating functional JavaScript from it.

Is there any plan to revive this project? Would you consider leveraging the Swift compiler and narrowing the scope of work to do here?