Skip Menu |
Report information
Id: 121843
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: david.warring <david.warring [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: my @words <== sort <== ("c", "b", "a"); # feed failing to parse
Download (untitled) / with headers
text/plain 359b
Golfed from fudged test in integration/advent2010-day10.t $ perl6-m -e'my @o <== sort <== ("c", "b", "a")' Unable to parse expression in quote words; couldn't find final '>' at -e:1 ------> my @m <== sort <== ("c", "b", "a")⏏<EOL> expecting any of: argument list prefix or term prefix or meta-prefix quote word
Download (untitled) / with headers
text/plain 117b
imho there's some ambiguity between the above and quote-word syntax aka: % perl6 -e 'say <== sort>' == sort
Download (untitled) / with headers
text/plain 1.3k
From the #perl6 IRC 07:48] == dwarring [de99574b@gateway/web/freenode/ip.222.153.87.75] has joined #perl6 [07:50] <dwarring> r: my @m <== sort <== ("c", "b", "a") ... [07:50] <+camelia> rakudo-jvm 5c160e: OUTPUT«(timeout)» [07:50] <+camelia> ..rakudo-{parrot,moar} 5c160e: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unable to parse expression in quote words; couldn't find final '>'␤ ␤at /tmp/tmpfile:1␤------> my @m <== sort <== ("c", "b", "a")⏏<EOL>␤ exp…» [07:51] <dwarring> that's golfed from from 2010 advent day 10 [07:51] <dwarring> looks to me like that's getting confused with with quoted-word syntax.. [07:51] <moritz> m: my @m <== sort() <== ("c", "b", "a") [07:51] <+camelia> rakudo-moar 5c160e: ( no output ) [07:51] <dwarring> r: say <== sort> [07:51] <+camelia> rakudo-{parrot,jvm,moar} 5c160e: OUTPUT«== sort␤» ... [07:52] <timotimo> oooh, good catch [07:52] <moritz> dwarring: yes; it expects a term after a listop ... [07:53] <moritz> std: my @m <== sort <== ("c", "b", "a") [07:53] <+camelia> std ec3d853: OUTPUT«ok 00:01 127m␤» [07:53] <moritz> dunno how STD manages it [07:54] <moritz> probably "LTM" is the answer :-) [07:55] <FROGGS> std: <== sort> [07:55] <+camelia> std ec3d853: OUTPUT«ok 00:01 121m␤» [07:55] <FROGGS> yeah [07:55] <FROGGS> LTM FTW [07:57] <masak> huh. STD has the cake and eats it somehow.
Download (untitled) / with headers
text/plain 579b
I've temporarily snuck in parens to the advent post. Now reads: ... <== sort() <== ... That should be reverted when this issue is resolved. On Sat May 10 14:42:47 2014, david.warring wrote: Show quoted text
> Golfed from fudged test in integration/advent2010-day10.t > > $ perl6-m -e'my @o <== sort <== ("c", "b", "a")' > Unable to parse expression in quote words; couldn't find final '>' > > at -e:1 > ------> my @m <== sort <== ("c", "b", "a")⏏<EOL> > expecting any of: > argument list > prefix or term > prefix or meta-prefix > quote word
Still reproducible (2017.11, HEAD(5929887))

On 2014-05-10 14:42:47, david.warring wrote:
Show quoted text
> Golfed from fudged test in integration/advent2010-day10.t
>
> $ perl6-m -e'my @o <== sort <== ("c", "b", "a")'
> Unable to parse expression in quote words; couldn't find final '>'
>
> at -e:1
> ------> my @m <== sort <== ("c", "b", "a")⏏<EOL>
> expecting any of:
> argument list
> prefix or term
> prefix or meta-prefix
> quote word




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org