Skip to content

Commit

Permalink
Add diagram from babel#1351
Browse files Browse the repository at this point in the history
  • Loading branch information
forivall committed Sep 21, 2015
1 parent 75cd1a5 commit eb1f58b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div style="max-width: 400px; margin: auto; font-size: 1.3em;">
<div style="background-color: #0068C3; margin: 15px; padding: 25px; text-align: center; color: white;">
<h5 style="margin: 0;">Parser</h5>Turns code into AST
</div>
<div style="background-color: #B22D25; margin: 15px; padding: 25px; text-align: center; color: white;">
<h5 style="margin: 0;">Transformer</h5>Manipulates AST
</div>
<div style="background-color: #208E2C; margin: 15px; padding: 25px; text-align: center; color: white;">
<h5 style="margin: 0;">Generator</h5>Turns AST back into code
</div>
</div>

0 comments on commit eb1f58b

Please sign in to comment.