develooper Front page | perl.perl5.changes | Postings from May 2021

[Perl/perl5] 146d41: Define a PL_infix_plugin hook, of a similarstyle ...

From:
Paul Evans via perl5-changes
Date:
May 4, 2021 14:12
Subject:
[Perl/perl5] 146d41: Define a PL_infix_plugin hook, of a similarstyle ...
Message ID:
Perl/perl5/push/refs/heads/leonerd/infix-plugin/7b5b54-444972@github.com
  Branch: refs/heads/leonerd/infix-plugin
  Home:   https://github.com/Perl/perl5
  Commit: 146d4134821b1e1aa5b011f75f193d1e97a92d3f
      https://github.com/Perl/perl5/commit/146d4134821b1e1aa5b011f75f193d1e97a92d3f
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 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: d7fb7664112910b6db3b5d0050f36d1ad25b67d8
      https://github.com/Perl/perl5/commit/d7fb7664112910b6db3b5d0050f36d1ad25b67d8
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 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: 2a7819e9e13b88959082cb57591a49f09700663e
      https://github.com/Perl/perl5/commit/2a7819e9e13b88959082cb57591a49f09700663e
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M toke.c

  Log Message:
  -----------
  Invoke PL_infix_plugin for identifier-named custom infix operators


  Commit: 56eb009d281bbe4ce82e7e7652d2eb9d37d639bd
      https://github.com/Perl/perl5/commit/56eb009d281bbe4ce82e7e7652d2eb9d37d639bd
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M toke.c

  Log Message:
  -----------
  Only invoke the infix plugin on the unlikely case that it is actually defined


  Commit: c3fc1d23ae3e0f9486e1643e6e4a2fe8f1070e6f
      https://github.com/Perl/perl5/commit/c3fc1d23ae3e0f9486e1643e6e4a2fe8f1070e6f
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M toke.c

  Log Message:
  -----------
  Also invoke infix plugin on likely-looking sequences of non-identifier symbols


  Commit: 56c6442f4801bedeb0f86976bc2fc9d7f85000a6
      https://github.com/Perl/perl5/commit/56c6442f4801bedeb0f86976bc2fc9d7f85000a6
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 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: 4449721af3f813771ae5e11a920e8ace63ba1568
      https://github.com/Perl/perl5/commit/4449721af3f813771ae5e11a920e8ace63ba1568
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2021-05-04 (Tue, 04 May 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/7b5b546959c8...4449721af3f8



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About