Old research question: What is a correct emulator?
New research question after thinking about the old research question for a while: Oh god. Oh no. What is an emulator?
Old research question: What is a correct emulator?
New research question after thinking about the old research question for a while: Oh god. Oh no. What is an emulator?
A compiler is a computer program that takes a program as input, does some sort of transformation on it, and returns another program. Most of the time, we think of a compiler as something that translates code from a higher-level language (such as, for instance, Rust, Racket, or JavaScript) to a lower-level language (such as, for instance, LLVM IR or x86-64 assembly), but this doesnât necessarily have to be the case.