C++ Logo

sg16

Advanced search

Re: [SG16] Redefining Lexing in terms of Unicode

From: Alisdair Meredith <alisdairm_at_[hidden]>
Date: Thu, 28 May 2020 16:44:15 +0100
I have certainly seen such code in the past, that relied
on developers working with the same code page, and
was essentially in-house code for developers with
non-English native languages.

If those APIs ever have to be shared elsewhere within
a larger organization, it is not unreasonable to imagine
the kind of mapping I suggest above as expediency,
rather than taking time to rename, refactor, and retest
all code using those APIs (the preferred solution).
 
AlisdairM

> On May 28, 2020, at 16:39, Corentin Jabot <corentinjabot_at_[hidden]> wrote:
>
>
>
> On Thu, May 28, 2020, 17:32 Alisdair Meredith via SG16 <sg16_at_[hidden] <mailto:sg16_at_[hidden]>> wrote:
> A more interesting question is whether we expect tools
> to provide a translation layer using \uXXXX in identifiers
> to alias more reasonable names in a user’s native
> encoding?
>
> Thinking of running a script to provide a translation of
> a header with more usable names for my working
> environment.
>
> A yet more interesting question is whether characters outside of what is defined as the basic source character set appear in interfaces of libraries that are shared in environments that are not able to represent these characters.
>
> I haven't seen such characters in identifiers in header files, ever.
>
> AlisdairM
>
> > On May 28, 2020, at 16:08, Corentin via SG16 <sg16_at_[hidden] <mailto:sg16_at_[hidden]>> wrote:
> >
> >
> > Do we really expect people to ever type \uxxxx in C++20.
> > They wouldn't be more or less first class citizen as they are today given we would not changing the requirements on characters must be supported by the physical character set
>
> > --
> > SG16 mailing list
> > SG16_at_[hidden] <mailto:SG16_at_[hidden]>
> > https://lists.isocpp.org/mailman/listinfo.cgi/sg16 <https://lists.isocpp.org/mailman/listinfo.cgi/sg16>
>
> --
> SG16 mailing list
> SG16_at_[hidden] <mailto:SG16_at_[hidden]>
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16 <https://lists.isocpp.org/mailman/listinfo.cgi/sg16>


Received on 2020-05-28 10:47:23