nowfound

Dev tools · January 17, 2026

Zig parser in ~70 lines of JavaScript

I wanted something lighter than zig autodoc so I've implemented (and golfed a bit) a custom parser using parser combinators in JS. It's not 100% correct and it's also not meant to be, all I care about is if it can parse my own Zig code, not any valid Zig code. There are also some bugs, and I don't intend to support, nor develop this much further, consider it vaporware which you are free to fork and use it for something, or just have some fun reading the code and figuring out how it works (I certainly had a lot of fun implementing it - no LLMs, so it was a nice exercise too). BTW: I know it's…

Zig parser in ~70 lines of JavaScript launched on January 17, 2026 with 10 votes, #1,059 of 14,585 launches that month and more than 90% of that year's launches.

Visit github.com ↗Alternativestop 7% of January 2026

In plain words

This is a lightweight Zig parser written in approximately 70 lines of JavaScript using parser combinators. It was created as a simpler alternative to Zig's autodoc tool and is designed to parse the creator's own Zig code rather than all valid Zig syntax. The parser has known limitations and bugs, and the creator has no plans for ongoing development or support. It is offered as-is for others to fork, modify, or study as a learning resource for parser implementation techniques.

written from the facts on this page · September 2026

From the sources

Web framework for Zig that leverages dependency injection for clean, modular application development. - tokamak/docs/zig-parser.js at 0c61e07835e7e32a3270df7815f84611147f1770 · cztomsik/tokamak

In the maker’s words, at launch

I wanted something lighter than zig autodoc so I've implemented (and golfed a bit) a custom parser using parser combinators in JS. It's not 100% correct and it's also not meant to be, all I care about is if it can parse my own Zig code, not any valid Zig code. There are also some bugs, and I don't intend to support…

Does a similar job

all alternatives →
  • I wrote an OS in 1000 lines of Zig2025 · github.com · ▲151

    A minimal RISC-V 32-bit OS written in Zig. Contribute to botirkhaltaev/pico-os development by creating an account on GitHub.

  • ScrapScript – A tiny functional language for sharable software2023 · scrapscript.org · ▲503

    Hi friends, I started casually working on scrapscript in 2015. I built a few compilers over the years to test out various ideas/implementations, and I think I'm finally happy with the overall design. The code is not public yet. Email me at [email protected] if you're interested in joining the core team later this year. Let me know if you have any questions or feedback :)

  • I've been making JavaScript sandbox alone for 6 years2022 · playcode.io · ▲397

    Hi HN! Thanks for your attention to my post. It was a big challenge to run most of Node.js packages in browser, fast moreover. Virtual File system, resolve import/export. I got cold many times, depressions, burned out, yet still alive and finished it. Many guys helped me with an advice. Many users give a lot of positive feedback. There are 200,000 monthly unique users. I work full time now because of the freemium business model. To be honest - I am happy after many years of hard work.

  • ZB
    Zigg.be – A link shortener that creates short speakable links2013 · zigg.be · ▲75

    I created this a year or so ago but recently made updates and I thought people might like to know that it exists. I made this to easily send links or text to someone else verbally, like over the phone or over voice chat (which is what I made it for). The goal is to be able to tell the link to someone else without being ambiguous or needing to spell it out, so I grabbed the words off a Grade 5 level dictionary. I understand that the domain itself doesn’t qualify but I’m trying to get a better domain.

  • Buzz, strongly typed scripting language written in Zig2022 · github.com · ▲140

    👨‍🚀 buzz, A small/lightweight statically typed scripting language - buzz-language/buzz

  • Tiny VM sandbox in C with apps in Rust, C and ZigDec 2025 · github.com · ▲196

    Minimalist, dependency-free virtual machine sandbox for microcontrollers and other resource-constrained devices. Single C file, no dynamic memory allocations, asynchronous design, pure C99 - ringtailsoftware/uvm32

More dev tools this month

the category →
  • /dev/null▲472

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲340

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 27d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2026

the whole month →
  • IN

    Hey HN! I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents. I didn't write a single line of code. Of course no-code doesn't mean no-engineering. This project took a lot more manual labor than I'd hoped! I wrote a deep dive on the workflow and some thoughts about the future of AI coding and creativity: http://cannoneyed.com/projects/isometric-nyc

    AI · Jan 2026 · cannoneyed.com

  • Cowork▲1,088

    Turn Claude into your digital coworker

    AI · Jan 2026 · claude.com

  • DataFast▲867

    Revenue-first analytics

    Growth · Jan 2026 · datafa.st

  • OpenClaw▲836

    The AI that actually does things

    AI · Jan 2026 · openclaw.ai

  • Automatic AI-powered code reviews the moment you open a PR

    Dev tools · Jan 2026 · kilo.ai

  • AI Content Maker, for Social Media Publishing

    AI · Jan 2026 · postsyncer.com