WIP reimplementing decompiler
WIP factor ast.js out of compiler.js
Implement pattern matcher
Add unit tests for pattern.match