3 ms·
The issue is that LANG -> IR is a lossy transform: some constructs are lost, some language specific optimization passes could be applied, etc. Going from LANG1
by antoinealb 6y ago
The issue is that LANG -> IR is a lossy transform: some constructs are lost, some language specific optimization passes could be applied, etc. Going from LANG1 -> LANG2 starts with more information, so it could in theory work better.
- webmaven 6y agoIt would be interesting to see what neural translation systems (in general, not just for code) use as an implicit internal IR.
- Certhas 6y agoIt's lossy, the inverse is not well defined. But you could try to train a NN on reconstructing plausible (idiomatic) inputs leading to the current IR...