Opened 4 weeks ago

Last modified 4 weeks ago

#1667 assigned enhancement

Overhaul c-backend.scm

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: major Milestone: 5.3
Component: compiler Version: 5.1.0
Keywords: Cc:
Estimated difficulty: hard

Description

The C code generation stuff is a terrible, rotten mess. It's incomprehensible and making changes in the code has become rather difficult. I have a "backend" branch that uses an intermediate representation (S-expressions, roughly C-like), originally intended for an alternative backend ("qbe") that seems to work, at least for the core system + tests.

I can try to bring it up to date and present it once it is ready.

Change History (1)

comment:1 Changed 4 weeks ago by felix winkelmann

I've pushed the current state with all changes from master to the branch "backend". I'll need to do some more tests and then we can decide how to go on. Comments are welcome.

Note: See TracTickets for help on using tickets.