Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 6e421d713cc35da2db774ffd395be481d7abe0de
https://github.com/Perl/perl5/commit/6e421d713cc35da2db774ffd395be481d7abe0de
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.y
Log Message:
-----------
[parser] Decompose 'barestmt'
* Concern separation
By extracting complex rules into standalone nonterminals code will become
easier to read and maintain.
Nonterminals can be easily ordered (e.g.: alphabetically) as well as reordered.
Leveraging bison's implicit rule such structure contain less noise.
Goal is to make `barestmt` to look like (simplificed):
```
barestmt
: PLUGSTMT
| bare_statement_class_declaration
| bare_statement_class_definition
| bare_statement_given
| bare_statement_null
| bare_statement_try
| bare_statement_yadayada
;
```
* Nonterminal readability
Extracted nonterminals will contain single sequence so for readability purpose
tabular format will be used:
```
bare_statement_class_declaration
: KW_CLASS
BAREWORD[version]
BAREWORD[package]
PERLY_SEMICOLON
{
... action
}
;
```
Single token per line limits number of required eye movements as well as
it provides indentation separation of terminals/nonterminals and actions:
- 1st tab indent: grammar operator
- 2nd tab indent: terminal/nonterminal
- 3rd+ tab indent: action code
Commit: 825f28de1e388e2274057b5f7480c9fbee77e3fa
https://github.com/Perl/perl5/commit/825f28de1e388e2274057b5f7480c9fbee77e3fa
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_block`
Commit: 234ef9e87d56c05d676f52fae86c02776a825326
https://github.com/Perl/perl5/commit/234ef9e87d56c05d676f52fae86c02776a825326
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_class_declaration`
Commit: 168ac44ddc85e01d8be110fc532fe0dd46d30c40
https://github.com/Perl/perl5/commit/168ac44ddc85e01d8be110fc532fe0dd46d30c40
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_class_definition`
Commit: 58d94eda1123761aaffa5efe1c1c327e8f30f6fa
https://github.com/Perl/perl5/commit/58d94eda1123761aaffa5efe1c1c327e8f30f6fa
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_default`
Commit: c891c9a55ba91a519c5492789158a4b26a0fc754
https://github.com/Perl/perl5/commit/c891c9a55ba91a519c5492789158a4b26a0fc754
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_defer`
Commit: 6111a9cae2223c2aa98e234d53e4a82d892d5a54
https://github.com/Perl/perl5/commit/6111a9cae2223c2aa98e234d53e4a82d892d5a54
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_expression`
Commit: d666e956c849be5840f5021f4a30fa935ada516e
https://github.com/Perl/perl5/commit/d666e956c849be5840f5021f4a30fa935ada516e
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_field_declaration`
Commit: 2dc1c48245052f071c9aef74e871a775845520e9
https://github.com/Perl/perl5/commit/2dc1c48245052f071c9aef74e871a775845520e9
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_for`
Commit: 12c56bb18212fcf53f4527919722c6f5fb9392a9
https://github.com/Perl/perl5/commit/12c56bb18212fcf53f4527919722c6f5fb9392a9
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_format`
Commit: bb69c94bb63aeedc134bf3118d76439934890a94
https://github.com/Perl/perl5/commit/bb69c94bb63aeedc134bf3118d76439934890a94
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_given`
Commit: 28b5a7fa6a8df728814d59ce3defce2c0967998d
https://github.com/Perl/perl5/commit/28b5a7fa6a8df728814d59ce3defce2c0967998d
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_if
Commit: 8eb216ec1ab8e5e3519cced42735d7c157b49bfe
https://github.com/Perl/perl5/commit/8eb216ec1ab8e5e3519cced42735d7c157b49bfe
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_null`
Commit: f020aaeb5741251e9d9ae5b224b74c69036c7356
https://github.com/Perl/perl5/commit/f020aaeb5741251e9d9ae5b224b74c69036c7356
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_package_declaration`
Commit: 062bd6602e3c5a6dca192d3bf10503d9c6e5bc14
https://github.com/Perl/perl5/commit/062bd6602e3c5a6dca192d3bf10503d9c6e5bc14
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_package_definition`
Commit: 229019db60cecc3339767b8de3b56e584c449c22
https://github.com/Perl/perl5/commit/229019db60cecc3339767b8de3b56e584c449c22
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_phaser`
Commit: 440ad229a3f7ccc1941287fde875938a0b1442e5
https://github.com/Perl/perl5/commit/440ad229a3f7ccc1941287fde875938a0b1442e5
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_sub_traditional`
Commit: 42969c5a35d50f275c25ee04f6c7790deaaf8042
https://github.com/Perl/perl5/commit/42969c5a35d50f275c25ee04f6c7790deaaf8042
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_sub_signature`
Commit: aa96f7534c1cb2c7f09ab454cc70e131bfd4f7eb
https://github.com/Perl/perl5/commit/aa96f7534c1cb2c7f09ab454cc70e131bfd4f7eb
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_try_catch`
Commit: 770801428027f1430ab89d59df7da5e04ee42f9d
https://github.com/Perl/perl5/commit/770801428027f1430ab89d59df7da5e04ee42f9d
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_unless`
Commit: 703db877f5566ec480ff31be5161de2448f6462e
https://github.com/Perl/perl5/commit/703db877f5566ec480ff31be5161de2448f6462e
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_until`
Commit: 192a22b2ce11894716b9d2a2058fad765e5779d3
https://github.com/Perl/perl5/commit/192a22b2ce11894716b9d2a2058fad765e5779d3
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_utilize`
Commit: 4810f9b72fd483fedfe745ed8d23c507d98bcf2e
https://github.com/Perl/perl5/commit/4810f9b72fd483fedfe745ed8d23c507d98bcf2e
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_when`
Commit: 37f6bc88dc29bf867982a2c59a5c44b71f9701dd
https://github.com/Perl/perl5/commit/37f6bc88dc29bf867982a2c59a5c44b71f9701dd
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_while`
Commit: 412b9d48fca3415b4c699367c4baa1a3a6a7d844
https://github.com/Perl/perl5/commit/412b9d48fca3415b4c699367c4baa1a3a6a7d844
Author: Branislav Zahradník <[email protected]>
Date: 2025-10-07 (Tue, 07 Oct 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
[parser] Decompose `barestmt` -> `bare_statement_yadayada`
Compare: https://github.com/Perl/perl5/compare/70a73bdabb7e...412b9d48fca3
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications