Branch: refs/heads/leonerd/infix-plugin
Home: https://github.com/Perl/perl5
Commit: 3724f7ada4f64544d2781f0f1be4350fa82095e1
https://github.com/Perl/perl5/commit/3724f7ada4f64544d2781f0f1be4350fa82095e1
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 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: a95fd67af591df4ce6329c16c5220ab568c5d6dc
https://github.com/Perl/perl5/commit/a95fd67af591df4ce6329c16c5220ab568c5d6dc
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 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: 10320bf4a53b8ee3365212e3d8bf506ade92ba9a
https://github.com/Perl/perl5/commit/10320bf4a53b8ee3365212e3d8bf506ade92ba9a
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Invoke PL_infix_plugin for identifier-named custom infix operators
Commit: a88d52947baaabbe28b944461f901663b4a7cf44
https://github.com/Perl/perl5/commit/a88d52947baaabbe28b944461f901663b4a7cf44
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Only invoke the infix plugin on the unlikely case that it is actually defined
Commit: b7b3d068731b99b8e66cd34d679299bd5bc5a24a
https://github.com/Perl/perl5/commit/b7b3d068731b99b8e66cd34d679299bd5bc5a24a
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M toke.c
Log Message:
-----------
Also invoke infix plugin on likely-looking sequences of non-identifier symbols
Commit: cb2b51dd3b072f2a4f197d40b05aa183f1bf3358
https://github.com/Perl/perl5/commit/cb2b51dd3b072f2a4f197d40b05aa183f1bf3358
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 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: ea63bde0ecd5378ade11561a1fa43f1d4cbb636e
https://github.com/Perl/perl5/commit/ea63bde0ecd5378ade11561a1fa43f1d4cbb636e
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2021-04-16 (Fri, 16 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/3724f7ada4f6%5E...ea63bde0ecd5