dart-sdk/pkg/kernel
Samir Jindel 3e7ce992cf [vm/tfa] Implementation of type arguments tracking in TFA.
Change-Id: I9398186e27ae7a040e249df010ae16fb6ab6da89
Cq-Include-Trybots: luci.dart.try:vm-kernel-win-release-x64-try, vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/74962
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2018-10-11 19:09:42 +00:00
..
bin Remove the word "strongMode" from some package:kernel libraries. 2018-10-11 08:50:43 +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 [vm/tfa] Implementation of type arguments tracking in TFA. 2018-10-11 19:09:42 +00:00
runtime/reify Replace 'the the' with 'the' 2017-04-24 08:50:37 +02:00
test Remove the word "strongMode" from some package:kernel libraries. 2018-10-11 08:50:43 +00:00
.gitignore [kernel] Initial implementation of Dart Kernel. 2016-04-26 10:39:15 +02:00
analysis_options.yaml Update analysis options files. 2018-07-03 00:20:06 +00:00
AUTHORS [kernel] Initial implementation of Dart Kernel. 2016-04-26 10:39:15 +02:00
binary.md Mark Kernel classes that were Dart mixin declarations 2018-09-20 15:10:12 +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
pubspec.yaml Prepare for analyzer 0.33.0 publish. 2018-10-03 22:36:17 +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.