This tutorial is now maintained with other atdgen-related documents at https://github.com/mjambon/atdgen-doc