<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 7/30/19 10:57 AM, JeanHeyd Meneide
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANHA4Oj1iggfS6Vh6G7RTKifVc4uh7f2_MheYMTsR8xs4P6TOw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div><br>
        </div>
        <div>     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} -&gt; basic source character set
          keywords" conversion.</div>
      </div>
    </blockquote>
    <p>Arguably, we already have a solution for this:</p>
    <p><tt>$ cat russian-keywords.h<br>
        #define цел int</tt><tt><br>
      </tt><tt>#define главная main</tt><tt><br>
      </tt><tt>#define печать printf</tt><br>
    </p>
    <p><span style="font-size:9.5pt;font-family:Consolas;color:black"
        lang="RU">gcc -include russian-keywords.h ...<br>
      </span></p>
    <p><span style="font-size:9.5pt;font-family:Consolas;color:black"
        lang="RU">:)</span></p>
    <p><span style="font-size:9.5pt;font-family:Consolas;color:black"
        lang="RU">(not really serious)<br>
      </span></p>
    <p><span style="font-size:9.5pt;font-family:Consolas;color:black"
        lang="RU">Tom.</span><br>
      <span style="font-size:9.5pt;font-family:Consolas;color:black"
        lang="RU"></span></p>
  </body>
</html>