removed DbExpr
moved macro to ast.js
moved repeat to ast
moved if to ast