3 ms·
> in my experience the best way to get better at compilers (I can't claim to be a wizard) is to just build a goddamn compiler. Yup. In fact, the best way to st
by WalterBright 7y ago
> in my experience the best way to get better at compilers (I can't claim to be a wizard) is to just build a goddamn compiler.
Yup. In fact, the best way to start is to build a desk calculator, where you type in strings like:
4 + 6
and it gives you back 10. There was one in the old K+R book. A compiler just scales that up.
- sitkack 7y agoFor context, parent wrote a C++ compiler and invented the D programming language.