Ported the docgen compiler phase... though there isn't a doclib yet for the doc decorators to work properly.