Fill in a little more of the Cg translator. Get started on a standalone shader translator.