babel-analysis

SSA/CFG for babylon

Stars
9

Run in iTerm2

for name in fixtures/* ; do
  echo $name;
  cat $name;
  echo;
  node index.js $name | dot -Tpng | imgcat
done

Testing your own code

node index.js example.js

Will dump a DOT Language graph that will have comments on any nodes that were skipped.

Project Organization

index.js

Testing CLI while rest is fleshed out.

Block.js

All the types for CFG blocks.

CFGBuilder.js

Our state manager for most operations.