stevefolta
Joined 11 years ago
Karma
149
Submissions
83
Member since
Jun 28
Joined 11 years ago
I love QBE, but it does have its limitations: - It handles the ABIs for passing and returning structures in registers, but only with superfluous copies to and from the stack. - Can't generate debug info for data. This is probably due to lack of assembler support and/or complexity in the DWARF format. - The line number debug info directives are currently undocumented and don't support inlined functions.
But it's smol, effective, and it doesn't make you deal with phi nodes!
Here's my current stab at a small compiled language: <https://codeberg.org/stevefolta/lx-2025>.