Timeline for code generation - would C be a good compiler backend?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 6, 2020 at 2:18 | comment | added | Kied Llaentenn | ah. I misunderstood. | |
| Feb 6, 2020 at 2:01 | comment | added | Telastyn | @KiedLlaentenn - I was perhaps unclear then? The same exact C code does not behave the same on every architecture in existence. Reasonable C code, like adding ints together. | |
| Feb 6, 2020 at 1:07 | comment | added | Kied Llaentenn | "But they all don't behave the same"... If the language's parser checks for syntax errors, parser errors, and properly warned for potential undefined behavior before code generation, then inspecting the outputted C wouldn't be necessary... | |
| Feb 5, 2020 at 23:21 | history | answered | Telastyn | CC BY-SA 4.0 |