@sotolf Very cool!
I always forget to write unit tests. I've been working on codegen for a project, it's a 700+ lines-of-code and only three tests for some basic functionality 😅
I *really* enjoy writing a QBE frontend. Despite this is a toy project, I still think it's a great place to try. It reveals a lot about how compilers work in the scariest part (codegen).
Here's the source in case you want to look at my (pretty bad to be honest) Rust code: https://github.com/antimony-lang/antimony/pull/42
I write code™. Usually in C and Go
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.