nowfound

Dev tools · February 10, 2017

A self-hosted js compiler in 1k loc

Minimal self-hosted JavaScript compiler in 1k lines of code - maierfelix/mini-js

A self-hosted js compiler in 1k loc launched on February 10, 2017 with 47 votes, #719 of 3,156 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 9 years on.

Visit github.com ↗Alternativestop 23% of February 2017

In plain words

This is a self-hosted JavaScript compiler implemented in approximately 1,000 lines of code. It is designed for developers who need a lightweight, standalone compilation tool that can run without external dependencies. The project's compact codebase makes it suitable for understanding compiler architecture or embedding in resource-constrained environments. Being self-hosted means the compiler is written in JavaScript itself, allowing it to run in JavaScript environments.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • How to write a tiny compiler2017 · blog.klipse.tech · ▲224

    Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.

  • A compiler and VM for a simple language, in 150 lines of code2022 · gist.github.com · ▲200

    A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md

  • Standalone Jdk.compiler, Java Compiler Framework and Tree API2023 · github.com · ▲69

    With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or restrictions. - use the Compiler Tree API without resorting to --add-opens trickery that may eventually fail in newer Java releases - build a modified compiler with additional features or custom tweaks I made this after finding that the otherwise superb "jsweet" Java-to-JavaScript…

  • My C compiler compiled itself2024 · github.com · ▲275

    One of the most challenging projects of my life :)

  • TinyGo – LLVM-based Go compiler for microcontrollers2018 · github.com · ▲177

    Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. - tinygo-org/tinygo

  • 1 KB JavaScript framework for building front-end applications2017 · github.com · ▲216

    1kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp

More dev tools this month

the category →
  • /dev/null▲468

    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 ↗

Launched alongside, February 2017

the whole month →
  • Easily add high-quality animation to any native app

    Dev tools · 2017 · airbnb.com

  • Curated collection of 180 free fresh background gradients 🚀

    Work · 2017 · webgradients.com

  • Company culture decks aggregated all in one place

    Life & fun · 2017 · tettra.com

  • Open-source machine learning library by Google

    AI · 2017 · tensorflow.org

  • Milanote▲763

    The notes app for creative work

    Work · 2017 · milanote.com

  • A free guide to all HTML elements and attributes.

    Life & fun · 2017 · htmlreference.io