<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Let’s not forget about compiler errors. They will obviously have to be in the same language as the translation unit and refer to the original i.e. untranslated program elements.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Tom Honermann <tom@honermann.net>
<br>
<b>Sent:</b> Tuesday, July 30, 2019 11:19 AM<br>
<b>To:</b> JeanHeyd Meneide <phdofthehouse@gmail.com>; keld@keldix.com<br>
<b>Cc:</b> Lev Minkovsky <lminkovsky@outlook.com>; unicode@isocpp.open-std.org <unicode@open-std.org><br>
<b>Subject:</b> Re: [SG16-Unicode] Ideas for the future<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 7/30/19 10:57 AM, JeanHeyd Meneide wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> At the moment, achieving language-specific keywords could be done as a translation layer just before the compiler actually grabs the source. That might be a worthwhile endeavor -- and something actually programmable in standard C++,
come C++26 -- that will enable people of different languages to start in their native language when working with C++. And it could be accommodated in a similar fashion in the Standard itself: "translation" already happens of Unicode Characters in your source
program to \U-escaped basic character set source blob. The compiler runs (theoretically, compilers are allowed to just skip this if they "understand" the characters anyhow) on this basic character set blob, allowing the processing to be portable. This could
be one of the things included in that "{language specific keywords} -> basic source character set keywords" conversion.<o:p></o:p></p>
</div>
</div>
</blockquote>
<p>Arguably, we already have a solution for this:<o:p></o:p></p>
<p><tt><span style="font-size:10.0pt">$ cat russian-keywords.h</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>#define цел int</tt><br>
<tt>#define главная main</tt><br>
<tt>#define печать printf</tt></span><o:p></o:p></p>
<p><span lang="RU" style="font-size:9.5pt;font-family:Consolas">gcc -include russian-keywords.h ...</span><o:p></o:p></p>
<p><span lang="RU" style="font-size:9.5pt;font-family:Consolas">:)</span><o:p></o:p></p>
<p><span lang="RU" style="font-size:9.5pt;font-family:Consolas">(not really serious)</span><o:p></o:p></p>
<p><span lang="RU" style="font-size:9.5pt;font-family:Consolas">Tom.</span><o:p></o:p></p>
</div>
</body>
</html>