Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

Published: (December 26, 2025 at 10:07 AM EST)
1 min read

Source: Hacker News

Project Overview

Repo: https://github.com/valdanylchuk/xcc700

Hi Everyone! I just wrote my first compiler!

  • single pass, recursive descent, direct emission
  • generates REL ELF binaries, runnable using ESP-IDF elf_loader
  • very basic features only, just enough for self‑hosting
  • treats the Xtensa CPU as a stack mach…
Back to Blog

Related posts

Read more »