Hi guys!
Thanks for the reaction. I passed the table to TPF, I hope they can make a
good use of it.
I will ask Stuart to contact you.
On Sat, 4 Jan 2020 at 20:12, Patrick Spek via perl6-users <
perl6-us...@perl.org> wrote:
> On Fri, 3 Jan 2020 15:43:23 +0100
> Andrew Shitov wro
somebody wants to join.
Regards
--
Andrew Shitov
__
a...@shitov.ru | http://shitov.ru
, 8 dic. 2019 a las 4:38, Tom Blackwood ()
> escribió:
>
>> Hello
>>
>> How do you think of Julia language?
>>
>> https://en.wikipedia.org/wiki/Julia_(programming_language)
>>
>> It says it
ow anything on the rename? is it "Raku" ?
>
> The decision to rename "Perl 6" to "Raku" has been made. The coming weeks
> / months / years, the name "Perl 6" will be replaced by "Raku&q
5:43 PM N6Ghost wrote:
> Starting to see posts, as if the decision was made already but have not
> see any offical
> post anywhere, i can find. everything seems to flow from a thread on
> github somehwere
> anyone know anything on the rename? is it "Raku&qu
gt;
> For beginner of perl6, can you suggest some resources including online
> documentation or books to get start?
>
> thanks & regards
> Wesley
>
--
Andrew Shitov
__
a...@shitov.ru | http://shitov.ru
Moscow.pm also reminds that today (22 Apr) is the birthday of Lenin :-)
> March 2010 development release of Rakudo Perl #28 "Moscow".
--
Andrew Shitov
__
a...@shitov.ru | http://shitov.ru
ch;__onload' pc 0
(compilers/pge/PGE/Match.pir:14)
called from Sub 'parrot;Perl6::Compiler;__onload' pc 0 (perl6.pir:30)
called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown file):-1)
Should some PATH be set befo
ot; languages/perl6/perl6.pbc
"load_bytecode" couldn't find file 'PGE.pbc'
current instr.: 'parrot;Perl6::Compiler;__onload' pc 0 (perl6.pir:30)
called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown file):-1)
Probably
g ';' is not as simple as
<"\n" always means ";\n">. In mentioned JavaScript language one can
do this:
var
x
=
123
alert
(
x
)
and that will work!
";\n" can almost always be converted into "\n" but not vice versa.
--
Andrew Shitov
__
> JavaScript allows to omit semicolumn.
Sorry, s/lumn/lon/.
By the way, Perl also ignors semicolumn :-)
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
say $value
}
debug 'me'
# perl 5
sub debug
{
print shift
}
debug 'me'
And finally, Perl is not an Assembler with one only instrucion per
line.
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
Russian that were written on
real Perl 6 of that day, compiled into Parrot bytecode (.pbc) and run
on Apache under Parrot virtual machine. I cannot do the same with
today's instrumentary (or maybe I do not know how to?).
Th
es correspond to staments in PIR-source with
'new' instruction such as
$P8 = new .PerlArray
Would anyone tell me how to deal and live with it? :-)
Pugs -v is 6.2.13 and parrot -V is 0.4.10 --without-icu on i386-linux.
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
> 2) XML::Parser;
Should come with an XSLT-processor (libxslt).
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
four=delta
http://real.perl6.ru/p6/cookie/ (refresh twice)
http://real.perl6.ru/p6/queryhash/?one=alpha&two=beta&three=gamma&empty&four=delta
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
GS> The hard part is to make sure they won't write code to exploit other sites
or
GS> create hug load on your machine...
Any idea of how to avoid endless loops? :-)
Restricting execution time?
--
___
Andrew, [EMAIL PROTECTE
nce April 2004, even today ;-)
Can you imagine that Parrot 0.1.0 built for i386-freebsd lives there.
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
>> : so why not 'print($x)' == 'print ($x)' ;-)
> Plus we got rid of Perl-5's no-op unary +, so instead we're using
> whitespace to force it to be a list operator.
Thanks! I've got the idea.
I'd better refuse parenthesis than a space here. I think I'll never
drop space in a function call if it c
> Parrot 0.2.3 "Serenity" Released!
Possibly I'm growling again but I cannot run any Perl 6 programme with
new Parrots.
One-liner test.p6 containing 'print "perl 6";' is compiled to test.imc and
cause an error:
C:\parrot-0.2.3\languages\perl6>perl perl6 test.p6
error:imcc:syntax error, unexpect
> say $pair[0]; # a?
It looks like $pair is an arrayref while 'say ref $pair' tells 'Pair'.
And may I ask a relating question:
my $pair = ('name' => 'age');
say $pair{'name'}; # prints 'age'
say $pair['name']; # why prints 'name'? <== question
say $pair['age']; # prints 'name'
--
print (1+2)*3;
can print 9, instead of 3.
I'd prefer always have '3' (as a result of sum 1 + 2) here.
A C-programmer would tread this like
(print (1 + 2) * 3); # prints int, then returns void
print (or do)? And is
print .(1+2)*3
allowed?
in fact, that is exactly
(print.g
> why do we have to give up a space when calling functions under Pugs?
>> Not sure whether it's enough of an answer, but see:
>> http://dev.perl.org/perl6/doc/design/syn/S04.html#Statement_parsing
it says:
if $term ($x) # syntax error (two terms in a row)
if this cause an error, why not
> I am glad to announce Pugs 6.2.9, released during Ingy's OSCON talk:
> http://pugscode.org/dist/Perl6-Pugs-6.2.9.tar.gz
> SIZE = 1439642
> SHA1 = efd32419dcddba596044a42564936888a28b3c69
> Following last month's plan, this release features a Perl6/PIL to javascript
> code generator,
LP> my $x = (1,2,3,4,5);
LP> Looks like an error more than anything else.
'Perl 6 and Parrot Essentials' think different ;-)
--
___
Andrew, [EMAIL PROTECTED]
___
TTS> BTW, you didn't mean originally:
TTS>say zip (@odd), (@even); # prints 13572468 or 12345678?
That is exactly like with similar printing result of sub() call:
print sqrt (16), 5; # shout print 45.
--
___
Андр
Is it possible to avoid significance of whitespaces?
I think, such an aspect of Perl 6 would be awful.
IB> Whitespace is significant:
IB> say zip(@odd, @even);
IB> say zip (@odd, @even);
--
___
Andrew, [EMAIL PROTEC
Hi,
I tried zip under pugs.
my @odd = (1, 3, 5, 7);
my @even = (2, 4, 6, 8);
my @bothA = zip @odd, @even;
print @bothA;
This code prints 12345678 as expected.
After parenthesis were used to group zip arguments, results changes
to 13572468. Is it right?
--
__
DW> my $text is TextFile("/tmp/bar");
DW> $text = "hello"; # writes, truncates
DW> $text ~= ", world\n"; # appends
DW> $text.print "again\n"; # for old-times sake
Anyhow we still need $text.flush() or $text.close() methods.
--
_
AT> oh my.. it seems to me, that Perl6 starts new age of ASCII-graphics. (not
AT> ASCII, really.. maybe Uni-graphics?)..
I hardly think Perl 6 should avoid any characters other than ASCII.
For example we have at least three Russian encodings and it is
acceptable only because we have no choice: we
I think I have somesing missed: is it possible to open (that is read and
write) files in perl6 programmes? Those programmes that can be run under
current parrot release.
Thanks.
I tried this one-line programme for example:
my %e = %ENV;
and got this (parrot-0.0.13/perl are built under mandrake linux):
Global '_HV_ENV' not found
Error: '/parrot-0.0.13/parrot -r env.imc ' failed with exit code 1
Stopped at /parrot-0.0.13/languages/perl6/perl6 line 339
main::mydie(256,'/p
Is it possible to get environment variables from perl6 programme? It
failes when I try to use perl5 hash %ENV. Thanks.
33 matches
Mail list logo