Backus–Naur Form (BNF)

This topic contains 1 reply, has 2 voices, and was last updated by  Richard Siddaway 1 year, 11 months ago.

  • Author
    Posts
  • #31599

    Raffles Parrot
    Participant

    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.
    https://www.manning.com/books/windows-powershell-in-action

    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

    Richard Siddaway
    Moderator

    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
    http://www.microsoft.com/en-us/download/details.aspx?id=36389

    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.