support linking ast