#assembly #compiler #back-end #citadel #machine #target #api

citadel-backend

The backend/codegenerator of the citadel compiler backend

3 releases

0.0.12 Jul 26, 2024
0.0.11 May 28, 2024
0.0.1 May 1, 2024

#689 in Development tools

25 downloads per month
Used in citadel-api

MIT license

45KB
1K SLoC

Contains (ELF exe/lib, 9KB) build/bin/out, (ELF exe/lib, 1KB) build/obj/out.o

Backend [lib]

This is the backend crate. It is the part of the compiler responsible for generating machine code or assembly. Like most of the other -end crates in Citadel this is a pure api for implementing your own backends and targets. https://github.com/Isible/citadel/tree/main/crates/backend


lib.rs:

Citadel - backend

The backend crate of the citadel project

For information on what exactly citadel is you should visit our github-repository

This crate provides an api for implementing new backends and targets for citadel. For an example, go to experimental-asm Important: The api for the backend is still unstable and will still undergo a lot of changes.

If you are writing a compiler and need low-level access rather than the regular api. You can also use the api provided by this crate. For an example on how to do so, look at [WIP]

Dependencies

~190–255KB