Re: Perl 6 in non-English languages

2010-07-03 Thread Gabor Szabo
On Wed, Jun 23, 2010 at 1:34 AM, SundaraRaman R wrote: > Hi, > > This is an idea that originated in #perl6 during a discussion with slavik ( > http://irclog.perlgeek.de/perl6/2010-01-17#i_1907093). The goal is to allow > Perl 6 source code to be written in natural languages other than English. > T

Re: Perl 6 in non-English languages

2010-06-24 Thread Darren Duncan
yary wrote: Reminds me of an article of yore from The Perl Journal "Localizing Your Perl Programs" http://interglacial.com/tpj/13/ which discusses the reasoning behind Locale::Maketext the point of which is that the "values" you're looking up should be able to be functions, to handle some edge c

Re: Perl 6 in non-English languages

2010-06-24 Thread yary
Reminds me of an article of yore from The Perl Journal "Localizing Your Perl Programs" http://interglacial.com/tpj/13/ which discusses the reasoning behind Locale::Maketext the point of which is that the "values" you're looking up should be able to be functions, to handle some edge cases where not

Re: Perl 6 in non-English languages

2010-06-24 Thread Darren Duncan
Moritz Lenz wrote: However there are things that can be translated to other languages, and that is documentation, error messages and warnings. And the next step is non-error messages intended to be seen by users. The latter two require that we standardize exception types and messages, and pro

Re: Perl 6 in non-English languages

2010-06-24 Thread Moritz Lenz
Am 23.06.2010 22:51, schrieb Aaron Sherman: Moving on to more general theories on the matter, I believe that localized dialects of programming languages are always a bad idea. I totally agree. However there are things that can be translated to other languages, and that is documentation, error

Re: Perl 6 in non-English languages

2010-06-23 Thread Jon Lang
Another thing to consider is that Perl 6 is symbol-heavy: that is, keywords are often symbols (such as &&, <=>, or $_) rather than words. AFAIK, those symbols are not English, and I would not expect them to change under a natural language transformation of the setting. And to elaborate on Aaron's

Re: Perl 6 in non-English languages

2010-06-23 Thread Aaron Sherman
I should point out that I've had a great deal of coffee. The technical details of what I've said are reasonable, but read the rest as off-the-cuff opinion. It's also true that seeing how Perl 6 would look/work when re-cast in the grammatical conventions of another human language would be very cool

Re: Perl 6 in non-English languages

2010-06-23 Thread Aaron Sherman
On Tue, Jun 22, 2010 at 6:34 PM, SundaraRaman R wrote: > > Currently, since Perl 6 (afaik) supports Unicode identifiers, the only > place > a modification is required would be in the keywords. Here's the relevant bits from S02: The currently compiling Perl parser is switched by modifying one of

Re: Perl 6 in non-English languages

2010-06-23 Thread Elizabeth Mattijsen
On Jun 23, 2010, at 12:34 AM, SundaraRaman R wrote: > This is an idea that originated in #perl6 during a discussion with slavik ( > http://irclog.perlgeek.de/perl6/2010-01-17#i_1907093). The goal is to allow > Perl 6 source code to be written in natural languages other than English. > The motivatio

Re: Perl 6 in non-English languages

2010-06-23 Thread yary
If Perl 5 can support Lingua::Romana::Perligataand let you type " benedictum factori sic mori cis classum. instead of bless sub{die}, $class; then Perl 6 should be able to do it even better. I think it would be implemented thro

Perl 6 in non-English languages

2010-06-23 Thread SundaraRaman R
Hi, This is an idea that originated in #perl6 during a discussion with slavik ( http://irclog.perlgeek.de/perl6/2010-01-17#i_1907093). The goal is to allow Perl 6 source code to be written in natural languages other than English. The motivation would be to make programming accessible to a lot of p