Backus–Naur Form (BNF)

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Richard Siddaway Richard Siddaway 11 months, 3 weeks ago.

  • Author
  • #31599
    Profile photo of Raffles Parrot
    Raffles Parrot

    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.

  • #31602
    Profile photo of Richard Siddaway
    Richard Siddaway

    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

You must be logged in to reply to this topic.