Stream: cranelift

Topic: C Compiler in Cranelift


view this post on Zulip Trevor Gross (Jul 14 2023 at 18:59):

Anyone know of any projects to make a C frontend for cranelift? I feel like it could be kind of a fun boredom project thing

view this post on Zulip bjorn3 (Jul 14 2023 at 19:13):

https://github.com/jyn514/saltwater by Joshua Nelson is a C frontend. It got archived 2 years ago though.

A C compiler written in Rust, with a focus on good error messages. - GitHub - jyn514/saltwater: A C compiler written in Rust, with a focus on good error messages.

view this post on Zulip Trevor Gross (Jul 14 2023 at 19:15):

That's pretty cool, thanks for the link

view this post on Zulip Afonso Bordado (Jul 15 2023 at 10:09):

I also have a fork of that project that I've been keeping up to date with more recent versions of cranelift

A C compiler written in Rust, with a focus on good error messages. - GitHub - afonso360/saltwater: A C compiler written in Rust, with a focus on good error messages.

Last updated: Dec 23 2024 at 13:07 UTC