cm0002@lemmings.world to Programmer Humor@programming.dev · 10 days agoWhy I always keep doing it...lemmy.worldimagemessage-square17linkfedilinkarrow-up115arrow-down11
arrow-up114arrow-down1imageWhy I always keep doing it...lemmy.worldcm0002@lemmings.world to Programmer Humor@programming.dev · 10 days agomessage-square17linkfedilink
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up1·7 days agoNo a compiler just translates from one language into another. Transpilers are a type of compiler.
minus-squareepyon22@sh.itjust.workslinkfedilinkEnglisharrow-up1·7 days agoTypescript is transpiled into JavaScript. It’s not a whole new language just additions to JavaScript.
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up1·6 days agoA transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.
No a compiler just translates from one language into another. Transpilers are a type of compiler.
Typescript is transpiled into JavaScript. It’s not a whole new language just additions to JavaScript.
A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.