From b08012cf125e7c75da5a7b5203877d84bc715b60 Mon Sep 17 00:00:00 2001 From: chico Date: Thu, 2 Jul 2015 04:15:55 +0300 Subject: [PATCH] add some useful links --- src/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/README.md b/src/README.md index 0003bf4223..06e657ff75 100644 --- a/src/README.md +++ b/src/README.md @@ -3,10 +3,10 @@ Babel is broken down into three parts: - Parsing -- Transformation -- Generation +- [Transformation](babel/transformation/) +- [Generation](babel/generation/) -**Parsing** is the process of turning a piece of code into an AST (Abstract +**Parsing** is the process of turning a piece of code into an [ESTree spec](https://github.com/estree/estree) compatible AST (Abstract Syntax Tree) which is a tree-like object of nodes that _describes_ the code. This makes it easier to transform the code over direct string manpulation. @@ -19,8 +19,8 @@ done transforming the AST, the generation takes over to return normal code. --- -Babel's parsing step is done by Acorn. However, because Babel is implementing -future standards it maintains a fork of Acorn in order to do it's job. You can +Babel's parsing step is done by [Acorn](https://github.com/marijnh/acorn). However, because Babel is implementing +future standards it maintains a [fork of Acorn](acorn/) in order to do it's job. You can see that fork in the "acorn" folder. The transformation and generation steps are both handled inside of the Babel