Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Modular code generation? #14

@SamuraiCrow

Description

@SamuraiCrow

Hello! If you've been following the QBE mailing list, you probably know that I'm trying to make a 32-bit code generator library based on LibQBE. Nowadays, 32-bit systems are frowned upon as 'toy' computers but only because some software is to big to fit in the given address space.

Since my existing code generators are written in self-hosted AmigaE rather than C11, I'm hoping to make the code generators and optimizer a separate library from each other and the ABI separate also, both for code reuse purposes and cross-language maintainability.

My request is: Could the final code-generators (as a minimum) and optionally, the ABI runtime generation be made into separate .c files from the main optimizer?

I do know some Python and am looking at the script. I'd just like to know if there are any "gotchas" to look out for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions