nowfound

Dev tools · December 26, 2025

XS

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

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 machine for simplicity, no register allocation / window usage - compilable on Mac, probably also Linux, can cross-compile for esp32 there - wrote for fun / cyberdeck project Sample output from esp32: xcc700.elf xcc700.c -o /d/cc.elf [ xcc700 ] BUILD COMPLETED >…

Visit github.comAlternativestop 6% of December 2025

In plain words

Xcc700 is a minimal C compiler written in 700 lines that runs on ESP32 microcontrollers using the Xtensa architecture. It uses single-pass recursive descent compilation to generate executable ELF binaries that work with ESP-IDF's loader, with enough features to compile itself. Built for hobbyists and embedded projects, it simplifies the Xtensa CPU as a stack machine without register allocation and runs on Mac and Linux for cross-compilation to ESP32.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Repo: https:&#x2F;&#x2F;github.com&#x2F;valdanylchuk&#x2F;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 machine for simplicity, no register allocation &#x2F; window usage - compilable on Mac, probably also Linux, can cross-compile for esp32 there - wrote for fun &#x2F; cyberdeck project Sample output from esp32: xcc700.elf xcc700.c -o &#x2F;d&#x2F;cc.elf [ xcc700 ] BUILD COMPLETED > OK > IN : 700 Lines &#x2F; 7977 Tokens > SYM : 69 Funcs &#x2F; 91 Globals > REL : 152 Literals &#x2F; 1027 Patches > MEM : 1041 B .rodata &#x2F; 17120 B .bss > OUT : 27735 B .text &#x2F; 33300 B ELF [ 40 ms ] >> 17500 Lines&#x2F;sec << My best hope is that some fork might grow into a unique nice language tailored to the esp32 platform. I think it is underrated in userland hobby projects.

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, December 2025

the whole month →
  • GP

    Life & fun · Dec 2025 · dosaygo-studio.github.io

  • JG

    Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release. Please AMA!

    Life & fun · Dec 2025 · jmail.world

  • Design and ship studio-grade landing pages with AI

    AI · Dec 2025 · loki.build

  • AI turns your health goals into a 7-day menu & grocery list

    AI · Dec 2025 · planeatai.com

  • 2G

    Community, All the HN belong to you. This is an archive of hacker news that fits in your browser. When I made HN Made of Primes I realized I could probably do this offline sqlite&#x2F;wasm thing with the whole GBs of archive. The whole dataset. So I tried it, and this is it. Have Hacker News on your device. Go to this repo (https:&#x2F;&#x2F;github.com&#x2F;DOSAYGO-STUDIO&#x2F;HackerBook): you can download it. Big Query -> ETL -> npx serve docs - that's it. 20 years of HN arguments and beauty, can be yours forever. So they'll never die. Ever. It's the unkillable static archive of HN and it's…

    Dev tools · Dec 2025 · hackerbook.dosaygo.com

  • AI video studio for viral social clips

    AI · Dec 2025 · cybercut.ai