Conversation

ira grachevskaya from the hit vn Z.A.T.O. // I Love the World and Everything In It

is a transpiler a compiler

80% yes
20% no
3
0
0

ira grachevskaya from the hit vn Z.A.T.O. // I Love the World and Everything In It

one could also ask questions such as "is the rust to llvm transpiler a compiler"

1
0
0

linksradikalina🐾💖✨🏳️‍⚧️

@49016 if it transforms the input to an Intermediate Representation format then it is per definition not a compiler

1
0
0

@alina @49016 per what definition? the definition i'm familiar with is "compilers turn code from one language into another"

0
0
1

@49016 transpiler is just a compiler for javascript devs

0
0
0

@49016 anything that transforms its input to an output is a compiler

1
0
0

@friz64 @49016 is a formatter a compiler? it takes an input (unformatted code) and emits an output (formatted code)

1
0
0

@5225225 @49016 a game (takes controller input and emits pixels on the screen) is a compiler

1
0
0

@friz64 @49016 https://github.com/fzakaria/nes-nix

honestly if you TAS games then that's not far off, the code is a series of inputs and the output is the game state after a particular input

0
0
0