dart-sdk/pkg/kernel
Johnni Winther b9c5118c73 [cfe] Don't mark external methods as abstract
Closes #31233
Related to flutter/flutter#62887

Change-Id: I96e5a1b8045f75f1ad02fb47e5e41fe402dc3dc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157481
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2020-08-06 16:29:09 +00:00
..
bin Add empty value class transformer. 2020-08-03 14:14:42 +00:00
doc [cfe] Implement lowering for constructor initialization of late fields 2019-11-21 09:36:35 +00:00
lib [cfe] Don't mark external methods as abstract 2020-08-06 16:29:09 +00:00
test [cfe] Fix scope bug for initializers in text serialization 2020-07-17 13:24:28 +00:00
tool [CFE] Spell check on kernel src; presubmit on kernel & _fe_analyzer_shared 2019-12-02 13:00:47 +00:00
.gitignore [kernel] Initial implementation of Dart Kernel. 2016-04-26 10:39:15 +02:00
analysis_options.yaml More options files cleanup. 2018-10-26 23:05:44 +00:00
AUTHORS [kernel] Initial implementation of Dart Kernel. 2016-04-26 10:39:15 +02:00
binary.md Move BytesBuilder class and implementation to dart:typed_data. 2020-07-24 11:37:21 +00:00
codereview.settings [kernel] Use public review server. 2016-10-18 11:37:37 +02:00
LICENSE Making license files consistent across all packages 2017-09-28 19:33:08 +00:00
PRESUBMIT.py [CFE] Spell check on kernel src; presubmit on kernel & _fe_analyzer_shared 2019-12-02 13:00:47 +00:00
problems.md Fix markup 2020-07-31 08:39:41 +00:00
pubspec.yaml Mark front_end and kernel as private packages 2020-06-23 13:22:31 +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.