Adding codegen grammar