References — fw-06 Template and JSX Compilers

Primary sources first. Read the real implementation after you have written yours, never before.

Parsing and ASTs

  • AST Explorer — paste code, see the tree, for every parser mentioned here. The single most useful tool in this module.
  • ESTree specification — the AST shape JavaScript tooling agrees on
  • Acorn — small, readable JS parser
  • Babel plugin handbook — the best introduction to visitors and transforms anywhere

Real compilers to read

Source maps


When a claim here proves stale, record it in PROGRESS.md section 7.