Skip to content

Feedback on sources versus bytecode for transpilation input #185

Answered by gkdn
sdeleuze asked this question in Q&A
Discussion options

You must be logged in to vote

J2CL is a source-to-source compiler; there was in depth analysis at the beginning of the project but the essence is, J2CL targets idiomatic and understandable JavaScript and we didn't want to lose source level information or try to reverse engineer from byte-code.

We don't have plans to change that. Javac related item in the roadmap is about changing the frontend to use Javac instead of JDT but both are working on source code.

I haven't checked recently; it might be a longshot but perhaps nowadays there is decent enough decompiler that you can use to supply source?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sdeleuze
Comment options

@tbroyer
Comment options

@sdeleuze
Comment options

Answer selected by sdeleuze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants