Email or username:

Password:

Forgot your password?
notgull

🚨 BIG NEWS 🚨

Dozer has now compiled its first Rust program!

Granted, all it does is tokenize it, do some basic parsing, and the emission code only handles integer literals and doesn't handle signatures that aren't "() -> i32". But what is just compiled is basically valid Rust.

Only one way to go from here! rustc, here I come!

dozer compiling "fn main() { 13 }"
3 comments
secana πŸ¦€

@notgull What's the motivation for writing a Rust compiler in C? On the first sight, it seems a bit unexpected.

Zeeshan Ali Khan :rust: πŸ‡ΊπŸ‡¦

@notgull for C, I'd recommend using meson as your build system. It's super ergonomic, has a lot of useful features and can be really fast OOTB

Go Up