develooper Front page | perl.perl5.porters | Postings from August 2016

Re: merging optimising sub signature work so far

Thread Previous | Thread Next
August 8, 2016 18:19
Re: merging optimising sub signature work so far
Message ID:
Dave Mitchell wrote:
>*  Moves the parsing of the signature (i.e. the '($a,$b=1,@c)' thing)
>   from custom code in toke.c to normal yacc rules in perly.y;

You've also removed the parse_subsignature() function, and that's
a problem.  It was intended to be an API function, once signatures are
no longer experimental.  It needs to be an API function in order to make
it feasible for an XS module to parse the top-level "sub" syntax itself,
which is needed as a base on which to create any syntactic variation of
subroutine syntax.  It doesn't matter which way the actual parsing is
done; just the interface needs to remain.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About