Home

Awesome

PowerShell support for tree-sitter

A tree-sitter implemenation for PowerShell.

License

See LICENSE.

Initial goal

Parse the big test file from EditorSyntax completely.

TODO

End goal

90%+ compatibility with the PowerShell parser today.

Getting started

  1. npm install
  2. npm start file.ps1

If you want to just generate the parser, run npm run generate.

If you want to just parse a script, run npm run parse file.ps1