Re: is there a Perl 5 converter?

2016-01-21 Thread Steve Mynott
On 21 January 2016 at 01:40, Darren Duncan wrote: > On 2016-01-20 5:02 PM, ToddAndMargo wrote: >> >> or is it all by hand? > > > If you mean a source code translator, I don't know of one right now but I > wouldn't be surprised if one exists, that at least handles a common

Re: is there a Perl 5 converter?

2016-01-21 Thread Bruce Gray
On Jan 21, 2016, at 2:36 AM, Steve Mynott wrote: > On 21 January 2016 at 01:40, Darren Duncan wrote: >> On 2016-01-20 5:02 PM, ToddAndMargo wrote: >>> >>> or is it all by hand? >> >> >> If you mean a source code translator, I don't know of

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
On Thursday, January 21, 2016, Bruce Gray wrote: > On Jan 21, 2016, at 2:36 AM, Steve Mynott wrote: > > On 21 January 2016 at 01:40, Darren Duncan wrote: > >> On 2016-01-20 5:02 PM, ToddAndMargo wrote: > > There are at least

Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder writes: > Perl 5 source > == >> my @aaa = qw( a b c d e f g ); >> for my $c (@aaa) { > > Perl::ToPerl6 > = >> my @aaa = qw ( a b c d e f g ); >> for (@aaa) -> $c { > > Blue_Tiger > >> my @aaa = < a b c d e f g >; >> for @aaa <-> $c { >

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
On Thu, Jan 21, 2016 at 12:00 PM, Aaron Baugher wrote: > Tom Browder writes: ... >> For the example Perl 5 input I like the Blue_Tiger translation, except >> I haven't so far found an description of the '<->' operator. Why >> would Blue_Tiger prefer it

Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder writes: > Thanks, Aaron, good explanation. But can you find a description of > '<->' in the Perl 6 docs? It's mentioned here: https://doc.perl6.org/language/control#for And here, where it's called the "double-ended arrow", though I don't know how official

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
On Thu, Jan 21, 2016 at 1:39 PM, Aaron Baugher wrote: > Tom Browder writes: > >> Thanks, Aaron, good explanation. But can you find a description of >> '<->' in the Perl 6 docs? > > It's mentioned here: https://doc.perl6.org/language/control#for ... > I

Re: is there a Perl 5 converter?

2016-01-21 Thread Patrick R. Michaud
On Thu, Jan 21, 2016 at 01:39:15PM -0600, Aaron Baugher wrote: > Tom Browder writes: > > > Thanks, Aaron, good explanation. But can you find a description of > > '<->' in the Perl 6 docs? > > It's mentioned here: https://doc.perl6.org/language/control#for > > And here,

Re: is there a Perl 5 converter?

2016-01-20 Thread Darren Duncan
On 2016-01-20 5:02 PM, ToddAndMargo wrote: or is it all by hand? If you mean a source code translator, I don't know of one right now but I wouldn't be surprised if one exists, that at least handles a common subset of Perl 5 code. I expect having one will be a priority if it isn't around