[DGD] To token or not to token...

Petter Nyström jimorie at gmail.com
Sun Apr 18 21:17:12 CEST 2010


Sorry...

2010/4/18 Petter Nyström <jimorie at gmail.com>:
> Where I would want an output something like:
>
> ({ ({STRING, "<html attribute=\""}), ({CODE, "write(\"foo\");"}),
> ({STRING, "\">\n", ({CODE, "\n    send(\"<%foo%>\");\n"}), ({STRING,
> "\n</html>\n"}) })

The output should probably look more like this to match the input:

({ ({STRING, "<html attribute=\""}), ({CODE, "write(\"foo\");"}),
({STRING, "\">\n", ({CODE, "\n
write(xml_escape(\"<%foo%>\"));\n"}), ({STRING, "\n</html>\n"}) })

Hope you understood anyway.

 =)

Jimorie



More information about the DGD mailing list