A parser for the Power Query/M language, written in TypeScript. Designed to be consumed by other projects.
Active development has moved to the microsoft/powerquery-language-services monorepo.
See the parser package README for current installation, usage, build, and test instructions.
The npm package name remains @microsoft/powerquery-parser; the repository move does not deprecate or remove the package.
Use the parser source in the monorepo for ongoing development, and file new bugs and feature requests in its issue tracker. See the monorepo contribution guidance before contributing.
The Power Query M language specification defines the language. Current parser-specific specification notes and style requirements are maintained with the parser package. The versions in this repository remain available for historical reference: specification.md and style.md.
See LICENSE and NOTICE.txt for this repository's license and third-party notices.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.