anchor.diff:              "-compile(export_all).\n"
           ],
           gen_embedded_piqi(ErlMod),
  -        [ gen_parse(Mod, ErlMod, X) || X <- Defs ],
  -        [ gen_gen(Mod, ErlMod, X) || X <- Defs ]
  +        [ gen_parse_def(Mod, ErlMod, X) || X <- Defs ],
  +        [ gen_gen_def(Mod, ErlMod, X) || X <- Defs ],
  +        [ gen_parse_func(Mod, ErlMod, X) || X <- Functions ],
  +        [ gen_gen_func(Mod, ErlMod, X) || X <- Functions ]
       ]),
       ok = file:write_file(Filename, Code).
   
  
positive.code:     ].
  
  
  gen_gen(Mod, ErlMod, Def) ->
      Name = piqdef_name(Def),
      ErlName = piqdef_erlname(Def),
      [
          "gen_", ErlName, "(X, Format) ->\n",
          "    Iolist = ", ErlMod, ":gen_", ErlName, "(X),\n",
  
negative.code: piqdef_erlname({piq_list, X}) -> X#piq_list.erlang_name.
  
  
  gen_parse(Mod, ErlMod, Name, ErlName) ->
      [
          "parse_", ErlName, "(X, Format) ->\n",
          "    ", ErlMod, ":parse_", ErlName, "(\n",
  