4 ms·
So what do you propose instead of using an IR? No serious compiler for decades has been without an IR, going straight to machine code. Do you have some new idea
by chrisseaton 7y ago
So what do you propose instead of using an IR? No serious compiler for decades has been without an IR, going straight to machine code. Do you have some new idea? Or do you think we should go back to syntax-directed translation? I'm not sure that's tractable - performance would be terrible.
- Annatar 7y agoI think the two-pass assembler method is the way to go. With hand-crafted keyword to mnemonic translation tables.