Re: Native language versions



Peter J. Holzer <hjp-usenet2@xxxxxx> wrote:
: > Ian <nisbeti@xxxxxxxxxxxxxx> wrote:
: > : Has anyone tried translating the command set of Perl into other
: > : languages (French, Japanese, Arabic etc.), so that native speakers do
: > : not need to learn any English in order to program, then writing a
: > : suitable compiler?

: In perl you don't need a separate compiler for that: You can write a
: filter module. See Lingua::Romana::Perligata for a filter module which
: implements Latin syntax (including declensions and
: position-independence) for Perl.

Which is a nice thing to have, but have we ever heard that the Vatican
uses this module extensively?

: > No, this approach is completely impractical and not even of any academic
: > interest.

: I don't think this would be impractical at all. I don't know Japanese or
: Arabic, but I don't think parsing a computer language based on Japanese
: or Arabic grammar would be harder than parsing Perl (indeed parsing Perl
: is quite hard - "only perl can parse Perl" as the saying goes). At least
: your examples don't look hard to me.

No, that's right. You _can_ do it, but is it practical? Is it still Perl?
I wonder how to maintain a claim that two languages are equal (perhaps
better: equivalent) if both their grammars and lexica differ substantially?

: There are probably a lot more people who program Excel than any other
: programming language. There are of course other factors which make Excel
: attractive to non-programmers (not least that it doesn't *look* like a
: programming language), but I wonder whether translating the function
: names doesn't contribute to its popularity. There is a surprising number
: of people who don't understand basic English (even though they learned
: it in school).

While I stay with you that this feature may have contributed to the popularity
of Excel, I've seen a number of cases where a file with scripts written in the
German version wouldn't execute on the English version Excel. This was quite
a few years ago, though, maybe things have changed.

Oliver.
--
Dr. Oliver Corff e-mail: corff@xxxxxxxxxxxxxxxxxx
.



Relevant Pages

  • Re: how can I find the driver list in perl
    ... Or English literature group>? ... This is the Perl programming newsgroup you know... ... There is no such command in the Perl language. ... There are so many grammatical problems with that "paragraph" it's not ...
    (comp.lang.perl.misc)
  • Re: how to do this job using perl?
    ... My mother language is not english.And my english is very poor. ... Perl is much more precise than natural language. ... You can find the posting guidelines at ... immediate problem, and then try to read the source code, or consult an ...
    (comp.lang.perl.misc)
  • Re: perl to english
    ... code to pure english, like that perl latin module, just in english. ... Just soemthing that will translate perl code ... The argument was that by proving computer code expresses ideas, ...
    (comp.lang.perl.misc)
  • Re: A crosspost from the Perl Community
    ... exclamation mark. ... In English you do not write every sentence on the separate line, ... I don't think people get drawn to Ruby because of pretty syntax. ... I was drawn from perl to ruby, eight years ago, because ruby had ...
    (comp.lang.ruby)
  • Re: perl to english
    ... >>code to pure english, like that perl latin module, just in english. ... Just soemthing that will translate perl code ... > Helgi Briem hbriem AT simnet DOT is ...
    (comp.lang.perl.misc)