scm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scm-discuss] building scm


From: Aubrey Jaffer
Subject: Re: [Scm-discuss] building scm
Date: Sat, 23 Oct 2010 16:57:05 -0400 (EDT)

 | Date: Sat, 23 Oct 2010 14:03:46 +0200
 | From: Philipp Klaus Krause <address@hidden>
 | 
 | Am 19.10.2010 02:40, schrieb Aubrey Jaffer:
 | > We could modify "hobbit.scm" so that all C identifiers have
 | > numbered names, eg. hv_932252.  This has the disadvantage of
 | > making the generated C code much harder to read and debug.  A
 | > compromise would be to use numbered names for only the non-ASCII
 | > identifiers.
 | 
 | How about punycode? It has been designed to allow non-ascii
 | characters in URLs, while still keeping them easy to read (at least
 | up to the last ascii character from the beginning of the word).

Punycode can introduce a hyphen ("-") and can output a string with a
leading digit (see the Hebrew and Korean examples in
<http://tools.ietf.org/html/rfc3492>), both of which are not legal in
C identifiers.  Are these the only pitfalls?

 | > What encoding does your Scheme source use?
 | > 
 | 
 | UTF-8, which is probably the most common encoding these days.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]