Groups | Search | Server Info | Login | Register


Groups > comp.programming > #216

Re: Help needed in coding script interpreter (in C#)

From "Pascal J. Bourguignon" <pjb@informatimago.com>
Newsgroups comp.programming
Subject Re: Help needed in coding script interpreter (in C#)
Date 2011-04-12 16:44 +0200
Organization Informatimago
Message-ID <87sjtncyvw.fsf@kuiper.lan.informatimago.com> (permalink)
References <89036894-5e5d-4b0b-913b-908ee31c7bda@d28g2000yqc.googlegroups.com> <imfgbs$bfi$1@dont-email.me> <d38b6ec6-3747-44b7-919d-88cfa36c70a2@x3g2000yqj.googlegroups.com>

Show all headers | View raw


spinoza1111 <spinoza1111@yahoo.com> writes:

> On Mar 24, 9:18 pm, "BartC" <b...@freeuk.com> wrote:
>> "ile" <ilte...@gmail.com> wrote in message
>>
>> news:89036894-5e5d-4b0b-913b-908ee31c7bda@d28g2000yqc.googlegroups.com...
>>
>> > Hi!
>>
>> > I am programming interpreter for my scripting language called Amuera.
>> > Its licensed under GPL2.0, so its open source. The programming
>> > language is derived mainly from spanish, rather than english. maybe
>> > you find it refreshing :)
>>
>> My experience is that non-English keywords in a language aren't popular, if
>> that's what you mean.
>
> Actually, Spanish would be an excellent choice since in all countries
> south of the Rio Grande in the USA, except for Brazil, Spanish words
> will be immediately recognizable. And like it or not, they will be
> recognized north of the Rio Grande as well.

Or Latin.  But then Latin has declination, and apart perl
(cf. perligata), implementing them for other programming languages would
entice some difficulties.



> Mandarin Chinese is more prevelant today on the Internet than either
> English or Spanish but is not as easily mapped onto Roman alphabet
> keywords.

Why would you want to map anything?

CL-USER> (defun 階乗 (数)
           (if (< 数 1)
               1
               (* 数 (階乗 (- 数 1)))))
階乗
CL-USER> (階乗 5)
120



> If the goal is to have ordinary employees use computers without having
> to know English, Spanish would be the ideal choice, since speakers of
> other Romance languages (French and Italian) will often be able to
> recognize simple nouns.
>
> Esperanto, which is understandable in a limited way to intelligent
> English speakers comfortable with Latin based words, is closest to
> Spanish.

Yes, Esperanto would be a good choice.


> But expect here a lot of racist resistance from Anglo programmers who
> are already xenophobic because their jobs have fled offshore.

Nah!  It started well before offshoring.



> You're welcome to take a look at my book (Build Your Own .Net Language
> and Compiler, Edward G. Nilges, Apress 2004) for insight on building
> an interpreter...although keyword languages imply macro expansion
> which I don't actually cover.
>
> For an objective look at language "dominance", how tenuous it can be,
> as well as the widespread use of Spanish, take a look at Nicholas
> Ostler's book Empires of the Word.

Language dominance is not tenuous, it's backed by the power of armies.


> English is used all over the world. However, unlike the Romance
> languages, it doesn't have as many "friends" as do Spanish, French and
> Italian which are each others' "friends". The best "friends" of
> English happen to be German, which is kind of a dead end, and French.


English is used all over the world, because the USA have the most
nuclear missiles, aircraft carriers, and are dropping bombs all over the
planet at the least hint of trying to deal with anything else than US
dollars.

They may have to retract on the dollar, but until the Chinese buys their
stock of nuclear weapons, we'll still speak English.




-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.

Back to comp.programming | Previous | NextPrevious in thread | Find similar


Thread

Re: Help needed in coding script interpreter (in C#) spinoza1111 <spinoza1111@yahoo.com> - 2011-04-12 06:19 -0700
  Re: Help needed in coding script interpreter (in C#) "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-12 16:44 +0200

csiph-web