Still NYI (2017.11,HEAD(e5b660e)) On 2014-10-14 01:02:45, masak wrote: > <timotimo> m: grammar Test { token TOP { <Foo(1)> }; proto token > Foo(Int) {*}; token Foo:sym<a>(Int $a) { "a" }; token Foo:sym<b>(Int > $a) { "b" } }; say Test.parse("a"); > <camelia> rakudo-moar 8b3e8c: OUTPUT«Too few positionals passed; > expected 2 arguments but got 1 in regex Foo:sym<a> [...] > <timotimo> ven++ stumbled upon this > * masak submits rakudobug > <timotimo> that should work, right? > <masak> yes. > <pmnexus> It's very likely to be NYI, I think > <timotimo> huh > <timotimo> aren't we using something like that in rakudo's own grammar > all the time? > <pmnexus> A proto regex with params? Could be, but it'd be new to me > <pmnexus> Also, Rakudo doesn't compile Rakudo's grammar. :-)
[perl #122972] [NYI] Proto regex with params isn't called correctly (possibly NYI) in Rakudo
Aleks-Daniel Jakimenko-Aleksejev via RT Sun, 03 Dec 2017 03:06:07 -0800