3 ms·
> Second, we get to write an actual, honest-to-God compiler. It parses source code and outputs a low-level series of binary instructions. Your compiler doesn't
by norir 3y ago
> Second, we get to write an actual, honest-to-God compiler. It parses source code and outputs a low-level series of binary instructions.
Your compiler doesn't need to emit byte or machine code to be real or useful. High level to high level compilers can be incredibly useful and relatively easy to write. For optimal runtime performance, you can target c or some other low level language and let it deal with register allocation, instruction selection and shared lib/executable generation.