Re: Not Quite Perl

2012-04-03 Thread Moritz Lenz
(follow-up to perl6-compil...@perl.org) Am 03.04.2012 10:02, schrieb Daniel Carrera: I've been reading a little about NQP (Not Quite Perl). I was wondering if NQP is part of the Parrot project, or if it is an independent spec. NQP exists in several versions. The earliest version lived

Re: Not Quite Perl

2012-04-03 Thread Daniel Carrera
On 3 April 2012 10:16, Moritz Lenz mor...@faui2k3.org wrote: (follow-up to perl6-compil...@perl.org) Ok. Moving discussion to per6-compi...@perl.org NQP exists in several versions... The current version (called NQP again) is developed outside of parrot (in github.com/perl6/nqp/ repository),

Re: Not Quite Perl

2012-04-03 Thread Moritz Lenz
Am 03.04.2012 11:24, schrieb Daniel Carrera: Ok. I just scanned the Wikibook on NQP. Indeed, it is quite limited. It lacks basic things like list context: @a := (1,2,3,4); # Wrong. It's a shame because lists is precisely what I wanted to work with. But this works: @a := [1, 2, 3, 4]

Re: Not Quite Perl

2012-04-03 Thread Daniel Carrera
On 3 April 2012 11:48, Moritz Lenz mor...@faui2k3.org wrote: But this works: @a := [1, 2, 3, 4] Note that this will store a ResizablePMCArray in @a, so if you want to know what kind of methods you can call on it, you have to consult parrot's documentation of the ResizablePMCArray. You also