Add ast library and asm