Power Query M language specification

The specification describes the values, expressions, environments and variables, identifiers, and the evaluation model that form the Power Query M languageā€™s basic concepts.

Download Power Query M language specification .pdf.