dart-sdk/pkg/kernel
Kevin Millikin a8493e1b50 Flip the default value of the Kernel syncAsync flag
In Kernel's TargetFlags, this flag still defaulted to false.  Flip the
default to true and update all client code in the SDK.  The
expectation is that many of the places that now pass false explicitly
really just want the default, but that will be verified separately and
then the flag will be removed.

Change-Id: I2a38eb53f280f21f59bb1d2e88c42516f827fd39
Reviewed-on: https://dart-review.googlesource.com/c/85448
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Kevin Millikin <kmillikin@google.com>
2018-12-12 14:23:54 +00:00
..
bin Add offsets to kernel size breakdown 2018-11-22 07:31:11 +00:00
coq [kernel-f11n] Prove that valid configuration is well-formed 2017-10-12 14:13:58 +00:00
doc/semantics [kernel-f11n] Add the opertional semantics spec for Kernel 2017-09-28 12:04:25 +00:00
lib Flip the default value of the Kernel syncAsync flag 2018-12-12 14:23:54 +00:00
runtime/reify
test Remove non-strong vm dill files from SDK 2018-10-12 12:42:57 +00:00
.gitignore
analysis_options.yaml More options files cleanup. 2018-10-26 23:05:44 +00:00
AUTHORS
binary.md Add SetLiteral node to kernel. 2018-12-06 14:46:58 +00:00
codereview.settings
LICENSE Making license files consistent across all packages 2017-09-28 19:33:08 +00:00
pubspec.yaml Cherry-pick analyzer CHANGELOG and pubspec from analyzer-0.33 branch. 2018-12-01 17:23:47 +00:00
README.md Remove outdated information from pkg/kernel/README.md 2018-10-09 11:09:27 +00:00

Dart Kernel

Dart Kernel is a small high-level language derived from Dart. It is designed for use as an intermediate format for whole-program analysis and transformations, and to be consumed by codegen and execution backends.

The kernel language has an in-memory representation in Dart and can be serialized as binary or text.

Both the kernel language and its implementations are unstable and are under development.

This package contains the Dart part of the implementation and contains:

  • A transformable IR for the kernel language
  • Serialization of kernel code

Note: The APIs in this package are in an early state; developers should be careful about depending on this package. In particular, there is no semver contract for release versions of this package. Please depend directly on individual versions.

See ast.dart for the in-memory IR, or binary.md for a description of the binary format. For now, the textual format is very ad-hoc and cannot be parsed back in.