Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamiebuilds/the-super-tiny-compiler
:snowman: Possibly the smallest compiler ever
https://github.com/jamiebuilds/the-super-tiny-compiler
Last synced: 26 days ago
JSON representation
:snowman: Possibly the smallest compiler ever
- Host: GitHub
- URL: https://github.com/jamiebuilds/the-super-tiny-compiler
- Owner: jamiebuilds
- License: cc-by-4.0
- Created: 2016-03-11T04:19:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T12:33:21.000Z (4 months ago)
- Last Synced: 2024-04-13T10:10:55.687Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 27,344
- Watchers: 475
- Forks: 2,815
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-list - the-super-tiny-compiler
- awesome-links - the-super-tiny-compiler - by jamiebuilds (Frontend)
- My-Awesome-List - The Super Tiny Compiler
- awesome-notes - **The Super Tiny Compiler** - simplified example of all the major pieces of a modern compiler written in easy to read JavaScript. (Compilers)
- build-your-own-x - **JavaScript**: _The Super Tiny Compiler_
- awesome-stars - jamiebuilds/the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- my-awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-ccamel - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler
- awesome-learning-resources - The Super Tiny Compiler - super-tiny-compiler-cn)。 Node、Typescript、Babel 以及**大部分现代前端框架**都和编译器有着密切的关系,要成为一流的前端必须了解编译器的知识。更何况编译器的知识在各个语言都是基本通用的。 (前端杂项)
- awesome - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- my-awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- my-awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- my-awesome-stars - the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (others)
- awesome-repositories - jamiebuilds/the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler
- awesome-github-star - the-super-tiny-compiler
- awesome-stars - the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- my-awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-diy-software - The Super Tiny Compiler
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - the-super-tiny-compiler
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- awesome-list - the-super-tiny-compiler 可能是有史以来最小的编译器
- build-your-own-x - **JavaScript**: _The Super Tiny Compiler_
- awesome-stars - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript)
- astsareawesome - The Super Tiny Compiler
- awesome-stars-webVueBlog - jamiebuilds/the-super-tiny-compiler - :snowman: Possibly the smallest compiler ever (JavaScript / 运维\&DevOps)
README
[![The Super Tiny Compiler](https://cloud.githubusercontent.com/assets/952783/21579290/5755288a-cf75-11e6-90e0-029529a44a38.png)](the-super-tiny-compiler.js)
***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.### [Want to jump into the code? Click here](the-super-tiny-compiler.js)
### [You can also check it out on Glitch](https://the-super-tiny-compiler.glitch.me/)
---
### 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](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](https://licensebuttons.net/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)