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

r31419 -[S03] Capitalo.

2010-06-23 Thread pugs-commits
Author: Kodi Date: 2010-06-23 23:02:49 +0200 (Wed, 23 Jun 2010) New Revision: 31419 Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] Capitalo. Modified: docs/Perl6/Spec/S03-operators.pod === --- docs/Perl6/Spec/S03-operators

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: very basic type checking

2010-06-23 Thread Darren Duncan
Hiroki Horiuchi wrote: My question is: In current Rakudo, my Int $i = '123'; causes a runtime error, not a compile time error. How about in future Perl 6? Generally speaking, in a dynamic language like Perl 6, one has to do the type checking at runtime anyway, because we don't always have the

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

very basic type checking

2010-06-23 Thread Hiroki Horiuchi
Hello. I asked the same question to #perl6. But now I think it was a wrong place. My question is: In current Rakudo, my Int $i = '123'; causes a runtime error, not a compile time error. How about in future Perl 6? -- Hiroki Horiuchi

[perl #75950] [BUG] my ($scalar) = grep $early-hit, $big-range hangs and segfaults instead of finishing quickly in Rakudo

2010-06-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75950] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75950 > rakudo: my ($found) = grep 1, 1..1_000_000; say 'alive' rakudo 7b5b9d: ( no output )

[perl #75956] [BUG] @*INC isn't writable in Rakudo

2010-06-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75956] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75956 > rakudo: @*INC.=reverse; say @*INC.perl rakudo ad2afb: OUTPUT«Cannot assign to readonly

[perl #75966] [BUG] Strange error when doing 'handles' delegation with a parameter in Rakudo

2010-06-23 Thread Carl Mäsak via RT
rakudo: class A { method foo(|$c) { say $c.perl } }; A.foo rakudo ad2afb: OUTPUT«\()␤» rakudo: class A { method foo(|$c) { say $c.perl } }; A.foo(1) rakudo ad2afb: OUTPUT«Too many positional parameters passed; got 2 but expected 2␤ in 'A::foo' at line 11:/tmp/TE5FBvA4r9 [...] Golfed. * masa

[perl #75958] [BUG] The REPL itself can die if something dies during autoprinting in Rakudo

2010-06-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75958] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75958 > the should the REPL die every time there is an uncaught error? no <[Coke]> the REPL sh

[perl #75976] strange behavior on double call of 'use Test;'

2010-06-23 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #75976] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75976 > use Test; use Test; =begin pod I would expect the second call to 'use Test' to be

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

[perl #75948] [BUG] Match.trim erroneously returns a Match object rather than a Str in Rakudo

2010-06-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75948] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75948 > rakudo: say (' xyz ' ~~ /.*/).trim rakudo 7b5b9d: OUTPUT«any(Match.new(␤ # WARNING:

[perl #75966] [BUG] Strange error when doing 'handles' delegation with a parameter in Rakudo

2010-06-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75966] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75966 > rakudo: class A { method foo($x) { say "OH $x" } }; class B { has $.a handles }; B.new