Re:VOC: A transpiler that converts Python bytecode into Java...
by hristov on Sunday September 27, 2015 @11:55AM
(#10286914)
That is called a compiler.
[ Parent
| on HN ]
Re:VOC: A transpiler that converts Python bytecode into Java...
by poizan42 on Sunday September 27, 2015 @12:05PM
(#10286939)
Transpilers are compilers... The term is usually used for a compiler which compiles between languages at about the same level of abstraction.
Re:VOC: A transpiler that converts Python bytecode into Java...
by cwp on Sunday September 27, 2015 @12:29PM
(#10287014)
The term is usually used by people that don't know what compilers are.
Snark aside, I think this is actually the case. I bet there are a LOT of CoffeeScript/Javascript developers who have never worked in a compiled language.
Re:VOC: A transpiler that converts Python bytecode into Java...
by pjmlp on Sunday September 27, 2015 @12:16PM
(#10286969)
A term that I only started seeing after the crazyness to compile to JavaScript started and a part of my major was compiler design.
Re:VOC: A transpiler that converts Python bytecode into Java...
by monochromatic on Sunday September 27, 2015 @12:03PM
(#10286933)
Eh, it isn't starting with source code.
Re:VOC: A transpiler that converts Python bytecode into Java...
by poizan42 on Sunday September 27, 2015 @12:09PM
(#10286951)
In the broadest sense a compiler is any program that translates between different representations af a program. In that sense one can also consider a decompiler as a compiler.
Also we usually use the term compilation (or more specifically Ahead Of Time and Just In Time compilation) for when we translate bytecode into machinecode.
Re:VOC: A transpiler that converts Python bytecode into Java...
by monochromatic on Sunday September 27, 2015 @01:10PM
(#10287152)
Well, sure. I'm just saying that calling this something more specific than "compiler" isn't wrong.