GithubHelp home page GithubHelp logo

jwors / the-super-tiny-compiler-cn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yongzeyao/the-super-tiny-compiler-cn

0.0 0.0 0.0 17 KB

这是GitHub项目the-super-tiny-compiler的中文翻译。

License: Creative Commons Attribution 4.0 International

JavaScript 100.00%

the-super-tiny-compiler-cn's Introduction

The Super Tiny Compiler

欢迎来到超级微小的编译器!

这是 Jamie Kyle 的 GitHub 项目 the-super-tiny-compiler 的中文翻译,原项目地址:https://git.io/compiler

翻译者:姚永泽

这是一个包含了所有现代编译器重要组成部分的超级简化编译器。 使用简洁,易理解的 JavaScript 编写。

通读加了注释的代码能够帮助你学习大部分编译器是如何从头到尾工作的。

想要立即看代码?点击这里

你也可以在 Glitch 上查看代码


我为什么要知道编译器是如何工作的呢?

的确,大部分开发者在日常工作中并不需要了解编译器是如何工作的。但是编译器无处不在,很多你使用的工具都是基于编译器的概念编写的。

但是编译器非常的可怕!

是的,的确。但是这是我们的错(开发编译器的程序员),我们将本来非常直观的东西变得非常复杂以致于人们认为只有苦心钻研编译器的人才能理解。

好吧,那么我从哪里开始呢?

非常好!打开the-super-tiny-compiler.js 文件。

我回来了,但是我还是不理解。

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

测试

使用node test.js指令测试。


cc-by-4.0

the-super-tiny-compiler-cn's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.