3 ms·
Maybe people who will one day work on compilers? I learned a lot writing a compiler for a subset of C over one semester (in C++), and just recently built a "co
by archi42 7y ago
Maybe people who will one day work on compilers?
I learned a lot writing a compiler for a subset of C over one semester (in C++), and just recently built a "compiler" that is used in-house for a one-shot conversion task. Without the prior knowledge that would have been a pain (the input language is poorly documented), but that way I just wrote the whole tokenizer/parser/emitter-chain in perl5 (pattern matching is awesome, and performance doesn't matter as long as I can parse in the rang of 10k to 50k lines per minute).