Array based AST API