GitHub Hot Board

GitHub Hot Board · Архив репозитория

jamiebuilds/the-super-tiny-compiler

:snowman: Possibly the smallest compiler ever (Описание взято из самого репозитория.)

JavaScript

Данные на October 27jamiebuilds

Лучшее место

#147

Мастодонты · JavaScript по языку

29K

Всего звёзд

2.8K

Всего форков

0

Дней в рейтингах (30 дн.)

Лицензия: CC-BY-4.0Последний push: February 19Открытые issues (вкл. PR): 16Собирается с 2026-10-25; неизвестно = ещё не собрано

Документация проекта

The Super Tiny Compiler

Welcome to The Super Tiny Compiler!

This is an ultra-simplified example of all the major pieces of a modern compiler written in easy to read JavaScript.

Reading through the guided code will help you learn about how most compilers work from end to end.


Why should I care?

That's fair, most people don't really have to think about compilers in their day jobs. However, compilers are all around you, tons of the tools you use are based on concepts borrowed from compilers.

But compilers are scary!

Yes, they are. But that's our fault (the people who write compilers), we've taken something that is reasonably straightforward and made it so scary that most think of it as this totally unapproachable thing that only the nerdiest of the nerds are able to understand.

Okay so where do I begin?

Awesome! Head on over to the the-super-tiny-compiler.js file.

I'm back, that didn't make sense

Ouch, I'm really sorry. Let me know how it can be improved.

Tests

Run with node test.js


cc-by-4.0

Текущие места

Динамика за 30 дней

Нет записей за последние 30 дней.

Поставьте бейдж в свой README · jamiebuilds/the-super-tiny-compiler[![Поставьте бейдж в свой README](https://git.vaiox.xyz/api/badge/jamiebuilds/the-super-tiny-compiler.svg)](https://git.vaiox.xyz/ru/repo/jamiebuilds/the-super-tiny-compiler)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/ru/repo/jamiebuilds/the-super-tiny-compiler"><img src="https://git.vaiox.xyz/api/badge/jamiebuilds/the-super-tiny-compiler.svg" alt="Поставьте бейдж в свой README" height="20"></a>

← К рейтингам

GitHub Hot BoardМашина времениОбзор联系我们 · Contact