Backus–Naur Form (BNF)

A Backus–Naur Form (BNF) annotated version of the PowerShell grammar can be found in the first edition of Bruce Payette’s book Windows PowerShell in Action. Appendix C containing the grammar is available in PDF form on the publisher’s site.

The second edition of Windows PowerShell in Action does not contain a BNF.

Is there a current PowerShell BNF diagram available?

Thanks in advance.

As far as I’m aware there isn’t. You may want to check the PowerShell language specification version 3.0 which is the latest version

It may have what you want.

At this moment there are no plans to add an appendix describing the PowerShell Grammar in BNF form to PowerShell in Action third edition