Related articles |
---|
[17 earlier articles] |
Re: compiler for Chinese development language henry@spsystems.net (2005-10-20) |
Re: compiler for Chinese development language henry@spsystems.net (2005-10-20) |
Re: compiler for Chinese development language marcov@stack.nl (Marco van de Voort) (2005-10-22) |
Re: compiler for Chinese development language DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-10-23) |
Re: compiler for Chinese development language DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-10-23) |
Re: compiler for Chinese development language Robert@Knighten.org (Robert Knighten) (2005-10-26) |
Re: compiler for Chinese development language nmh@t3x.org (Nils M Holm) (2005-10-26) |
Re: compiler for Chinese development language owong@castortech.com (Oliver Wong) (2005-10-26) |
Re: compiler for Chinese development language owong@castortech.com (Oliver Wong) (2005-10-26) |
Re: compiler for Chinese development language henry@spsystems.net (2005-10-27) |
Re: compiler for Chinese development language henry@spsystems.net (2005-10-27) |
Re: compiler for Chinese development language gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-10-28) |
Re: compiler for Chinese development language choudhary@indicybers.net (Abhishek Choudhary) (2006-01-12) |
From: | Nils M Holm <nmh@t3x.org> |
Newsgroups: | comp.compilers |
Date: | 26 Oct 2005 14:23:43 -0400 |
Organization: | Compilers Central |
References: | 05-10-145 |
Keywords: | i18n |
Posted-Date: | 26 Oct 2005 14:23:43 EDT |
Hans-Peter Diettrich wrote:
> Wouldn't it just be an argument for wider use of Unicode, so that
> keywords can be defined as specific code points (or units?), whose
> visual representation can vary depending on the context, like the
> preferred language of the user?
I always thought that the use of ASCII in programming languages
actually is an advantage.
As Marco van de Voort already pointed out, being able to use the own
native language when writing programs does not really help but on the
other hand, restricting the input alphabet (at least for keywords and
identifiers) increases chances that the majority of people on this
planet will be able to read the code.
As we all know, programs written by other people can be quite hard to
decode. Now imagine such a program being written in Hebrew, Cyrillic,
or Kanji.
--
Nils M Holm <nmh@t3x.org> -- http://www.t3x.org/nmh/
[The process of adding codepoints for all the keywords in programming
languages would be interesting but not enlightening. Should IF in
Fortran get the same codepoint as "if" in C and "if" in Pascal, or
should they be different? -John
PS: Don't answer]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.