work in progress on ast to c conversion