[m-dev.] Name mangling (was Re: [m-rev.] For review: Convert Mercury terms to XML)

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Dec 8 13:17:59 AEDT 2004


On 07-Dec-2004, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Can I propose the following scheme:
> 
> Unmangled character		Mangled output
> -------------------		--------------
> Z				ZZ
> c in [a-zA-Y0-9_]		c
> c not in [a-zA-Z0-9]		Z## (where ## is the ASCII hex code for c)

That won't work very well, but the reason why is best discussed in person.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list