astee
ECMAScript AST toolkit
If links in this document not avaiable, please access README on GitHub directly.
Description
You may learn some popular ECMAScript compilers in this package.
ToC
Links
Terms
References
Popular Compilers:
( Compilers will create AST from code. Some of them provides methods to generate code from AST.)
-
[Acorn]1, @npm
A parser parsing JavaScript into an [ESTree]2 syntax tree. Many other compilers are based on it. It is also used in [webpack]3 as default parser for JavaScript.
-
[@babel/parser]4, @npm
The Babel parser generates AST according to Babel AST format. It is based on [ESTree]2 spec with the following deviations: (There is now an estree plugin which reverts these deviations) ...
-
babylon, @npm
Predecessor of [@babel/parser]4.
-
Closure Compiler
... a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
-
Espree, @npm
... started out as a fork of [Esprima]5 v1.2.2, ... is now built on top of [Acorn]1, ...
The goal of Espree is to produce output that is similar to Esprima with a similar API so that it can be used in place of Esprima.
-
[Esprima]5, @npm
... a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript).
Sensible syntax tree format as standardized by [ESTree]2 project
-
Shift Parser, @npm
generates a Shift AST from ECMAScript program text
-
[SpiderMonkey]6
... Mozilla's JavaScript engine written in C and C++.
-
terser, @npm
A JavaScript parser and mangler/compressor toolkit for ES6+.
Used by TerserWebpackPlugin which is used in [webpack]3 by default.
-
UglifyJS
... a JavaScript compressor/minifier written in JavaScript.
Code Generators:
- Escodegen, @npm
... an ECMAScript (also popularly known as JavaScript) code generator from Mozilla's Parser API AST.
Online Tools:
Specs & Articles:
Others:
-- THE END --