Re:Transpiling between any programming languages (2019)
by OJFord on Sunday February 16, 2020 @09:34AM
(#22341693)
Is that so different? The natural next step is implementing the reverse, other languages to yours, and then suddenly yours is an intermediate language that can be used to go other lang to other lang.
[ Parent
| on HN ]
Re:Transpiling between any programming languages (2019)
by krcz on Sunday February 16, 2020 @11:14AM
(#22342159)
That might not be easy, for the same reason you can easily transform vector graphics into raster one but not the other way around or output of decompilers doesn't look nice: you are losing information during the translation process. You can easily transpile TypeScript to JavaScript, but that's not true for the reverse process.