[perl #132003] grammar cannot parse from Blob/Buf

2017-09-01 Thread via RT
# New Ticket Created by Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 # Please include the string: [perl #132003] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132003 > › perl6 -v This is Rakudo version 2017.07 built on MoarVM version 2017.07

[perl #132003] grammar cannot parse from Blob/Buf

2017-08-31 Thread Sam S. via RT
In Perl 6.c, regexes/grammars can only parse strings (at the grapheme level). If you want to parse a Blob or Buf, you have to decode it into a string first by calling the `.decode` method¹ on it. Early Perl 6 design documents² suggested support for parsing at the byte or code-point level, but