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.<p>I drive the architecture of the compiler and verify the AI implementation with a large test suite.<p>It can compile and run lua (all test passing) and curl (partially).<p>Cheers!


  • 情报分类:项目价值、技术价值
  • 命中依据:用Claude辅助编写的C编译器,开源创新项目
  • 来源:Hacker News 新项目
  • 原作者:int0x80
  • 发布时间:2026/9/13 00:06:11