Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: localized k...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 16 of 27 Topic 2351 of 2421
Post > Topic >>

Re: localized keywords, was call by name

by Hans-Peter Diettrich <DrDiettrich1@[EMAIL PROTECTED] > Mar 14, 2008 at 04:27 AM

glen herrmannsfeldt wrote:

>> The requirements for programs in non-English countries
>>have rarely been been reflected in programming languages (standard
>>libraries), character sets etc.
>
> Not to mention keywords.
>
> I have wondered about what non-english speakers think about the
> english keywords used in the usual programming languages.

Formal (programming...) languages are not subject to nationalization,
only natural languages are. This includes numerical constants and
string quotes, which in source code never should be affected by
national conventions about punctuation. Did you know that German
strings were quoted like ,,literal", whereas in English (TeX, GNU...)
texts I often found `literal'?

Imagine what your Internet browser would do, receiving a page written in
e.g. German or Chinese HTML?


> It might be that some use a preprocessor to replace language appropriate
> keywords, but I believe most just use the usual english words.

I remember an old homecomputer (Laser), which allowed for a list of
keyword translations for the BASIC language. Not a bad idea, provided
that the token code still used the same token, and used the list only
for display and editing purposes.

While a preprocessor may be a solution for users of basically Latin
character sets, I also remember attempts to translate programming
languages into Russian, what certainly would make sense when Cyrillic
(Greek...) keyboards don't have ASCII keys at all. But unfortunately
the Russian keywords were much longer than the English ones...

Microsoft once had decided to nationalize VBA, with the very welcome
effect that my German WinWord could not be affected by foreign malware
macros <BG>. This bad decision was corrected *very* soon...

DoDi
[Back around 1960 I believe there were a lot of Fortran variants with
the keywords in local languages, but they all disappeared for the
obvious reason that it wrecked portability. -John]




 27 Posts in Topic:
silly question: prefix vs postfix ops
MattR <rosing@[EMAIL P  2008-03-03 10:37:52 
Re: silly question: prefix vs postfix ops
Claudio Saavedra <csaa  2008-03-03 16:24:45 
Re: silly question: prefix vs postfix ops
"Dmitry A. Kazakov&q  2008-03-03 20:42:38 
Re: silly question: prefix vs postfix ops
Alex Colvin <alexc@[EM  2008-03-05 22:02:05 
Re: silly question: prefix vs postfix ops
Hans-Peter Diettrich <  2008-03-06 14:28:53 
Re: silly question: prefix vs postfix ops
glen herrmannsfeldt <g  2008-03-03 12:12:28 
Re: silly question: prefix vs postfix ops
Hans Aberg <haberg_200  2008-03-03 22:10:19 
Re: silly question: prefix vs postfix ops
Marco van de Voort <ma  2008-03-03 22:23:48 
Re: silly question: prefix vs postfix ops
glen herrmannsfeldt <g  2008-03-04 03:06:11 
Re: call by name, was silly question: prefix vs postfix ops
wclodius@[EMAIL PROTECTED  2008-03-04 20:25:54 
Re: call by name, was silly question: prefix vs postfix ops
wclodius@[EMAIL PROTECTED  2008-03-05 20:06:38 
Re: call by name, was silly question: prefix vs postfix ops
anw@[EMAIL PROTECTED] (A  2008-03-07 01:18:09 
Re: call by name, was silly question: prefix vs postfix ops
torbenm@[EMAIL PROTECTED]  2008-03-07 09:32:16 
Re: call by name, was silly question: prefix vs postfix ops
Hans-Peter Diettrich <  2008-03-09 20:16:38 
Re: call by name, was silly question: prefix vs postfix ops
glen herrmannsfeldt <g  2008-03-10 14:39:21 
Re: localized keywords, was call by name
Hans-Peter Diettrich <  2008-03-14 04:27:31 
Re: localized keywords, was call by name
"Dmitry A. Kazakov&q  2008-03-14 18:53:32 
Re: localized languages, was call by name
"Aleksey Demakov&quo  2008-03-14 12:26:59 
Re: localized languages, was call by name
torbenm@[EMAIL PROTECTED]  2008-03-14 09:41:57 
Re: localized languages, was call by name
"Derek M. Jones"  2008-03-15 11:51:55 
Re: localized languages, was call by name
Alex Colvin <alexc@[EM  2008-03-14 22:22:20 
Re: call by name, was silly question: prefix vs postfix ops
Carl Barron <cbarron41  2008-03-10 19:37:16 
Re: algol60 history, was call by name
glen herrmannsfeldt <g  2008-03-14 00:16:14 
Re: call by name, was silly question: prefix vs postfix ops
wclodius@[EMAIL PROTECTED  2008-03-10 19:50:56 
Re: algol, was call by name
Louis Krupp <lkrupp@[E  2008-03-15 17:38:17 
Re: silly question: prefix vs postfix ops
Tony Finch <dot@[EMAIL  2008-03-04 14:20:02 
Re: silly question: prefix vs postfix ops
Ralph Boland <rpboland  2008-03-04 17:59:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 21:28:38 CDT 2008.