A C Compiler written with help of Claude
A C Compiler written with help of Claude
For fun, I wrote a c compiler (non-optimizing) in Java targeting modern C (C23) using claude. I developed a c shell similar to jshell in java. The compiler also bundles a built in an assembler for x86. A linker is planned for end-to-end compilation. There is still a lot of work in progress but I wanted to share the project early for feedback. I spent around $400 in AI credits so far and it took over a week on and off of working on it. I drive the architecture of the compiler and verify the AI implementation with a large test suite. It can compile and run lua (all test passing) and curl (partially). Cheers!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Mulle-container: Sets, hashtables, arrays and more – written in C
Mulle_sprintf, an extensible sprintf written in C
QuickNote (qnote) written in GoLang
Wireworld written in Nim
Tldr written in golang
Snake written in Racket
Rmux, a Redis multiplexer written in Go
Rift – An Intel 8051/52 assembler written in Java
A Tmux Keylogger Written in Bash
A pipelined RISC-V processor written in VHDL