got some basic ast translation working