Branch: refs/heads/leonerd/infix-plugin
Home: https://github.com/Perl/perl5
Commit: c258628c117a07cfbe09b2d62423b0ef09588df8
https://github.com/Perl/perl5/commit/c258628c117a07cfbe09b2d62423b0ef09588df8
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M embed.fnc
M perl.h
M perlvars.h
M proto.h
M toke.c
Log Message:
-----------
Define a PL_infix_plugin hook, of a similar style to PL_keyword_plugin
Commit: 51924090b325baafe5f539db8a95ed3f68255c31
https://github.com/Perl/perl5/commit/51924090b325baafe5f539db8a95ed3f68255c31
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
M toke.c
Log Message:
-----------
Define a PLUGRELOP token type for the parser to recognise plugin relops
Commit: 7e1c11ed2218d82180413a1559a2b99122148cab
https://github.com/Perl/perl5/commit/7e1c11ed2218d82180413a1559a2b99122148cab
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Invoke PL_infix_plugin for identifier-named custom infix operators
Commit: 5db96a62f0c23a108e0e1071347f1381556812ed
https://github.com/Perl/perl5/commit/5db96a62f0c23a108e0e1071347f1381556812ed
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Only invoke the infix plugin on the unlikely case that it is actually defined
Commit: d3690d3344622a465d16daaf76b5f39c65ab7660
https://github.com/Perl/perl5/commit/d3690d3344622a465d16daaf76b5f39c65ab7660
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Also invoke infix plugin on likely-looking sequences of non-identifier symbols
Commit: 1fcddc37b775b41889a92ea0d8f56c0037ea000d
https://github.com/Perl/perl5/commit/1fcddc37b775b41889a92ea0d8f56c0037ea000d
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M embed.fnc
M perl.h
M proto.h
M toke.c
Log Message:
-----------
PL_infix_plugin functions should return STRLEN, not int
Commit: 7b5b546959c816debb069e669da4e711564181cc
https://github.com/Perl/perl5/commit/7b5b546959c816debb069e669da4e711564181cc
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M perl.h
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
Pass the Perl_custom_infix structure pointer itself into the ->parse method
of it
Compare: https://github.com/Perl/perl5/compare/ea63bde0ecd5...7b5b546959c8