使用此页面查找正式的 Dart 语言规范。有关 Dart 的一般性介绍,请参阅语言概览。
Use this page to find the formal Dart language specification. For a gentler introduction to Dart, see the language tour.
Dart 2
正式的 Dart 2 规范以 PDF 格式提供:
The Dart 2 language specification is available in PDF format:
-
最新的规范文档 (源文件是一个 LaTeX 格式的文件
Latest, in-progress specification (produced from a LaTeX file)
在 dart-lang/language 仓库中通常使用非正式语言功能规范来描述新的语言功能:
New language features are typically described using informal language feature specifications in the dart-lang/language repo:
Dart 1.x
正式的 Dart 1.x 语言规范可从 Ecma International 网站获得:
The formal Dart 1.x language specification is available from the Ecma International website: