Revert "core: add AST support"

This reverts commit d6c76e8b0fe0e1d3dfd86d795b89b34fbaa87c20.