目录

Contents

Dart 编程语言规范

使用此页面查找正式的 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 格式提供:

A formal Dart 2 specification is available in PDF format:

注意:Dart 2 相对于先去的规范发生了很大变化,其中一些是不向后兼容的。有关详细内容,请参阅 Dart 2

Note: Dart 2 has changed the Dart language in many ways, some of which are not backward-compatible. For details, see the Dart 2 page.

进行中的规范

In-progress specification

正在进行的正式的 Dart 语言规范是使用 LaTeX 文件 编写的,可作为 PDF 格式的草案规范 使用。

The in-progress formal Dart language specification is written as a LaTeX file, and is available as a draft specification in PDF format.

在 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: