4 ms·
If I wanted to create a C compiler in C as quickly as possible and had no other tools except for an assembler, I'd probably write an interpreter for C in assemb
by DanWaterworth 14y ago
If I wanted to create a C compiler in C as quickly as possible and had no other tools except for an assembler, I'd probably write an interpreter for C in assembly first rather than a compiler. Then I'd write a compiler for C in C and then compile the compiler by running the compiler under the interpreter.
- hnriot 14y agoThe implication here being that writing an interpreter is easier? I've found it easier to write a compiler.