dart2js

E131752

dart2js is the Dart-to-JavaScript compiler that enables Dart code to run efficiently in web browsers by translating it into optimized JavaScript.

All labels observed (2)

Label Occurrences
dart2js canonical 3
Dart command-line tools 1

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Dart compiler
Dart-to-JavaScript compiler
source-to-source compiler
category compiler toolchain component
developedBy Google
documentation https://dart.dev/tools/dart2js
feature aggressive inlining
code size optimization
constant folding
runtime performance optimization
firstAppearedIn early Dart releases (around 2011–2012)
includedIn dart2js self-linksurface differs
surface form: Dart command-line tools
inputFormat Dart source code
integratedWith dartdev tooling
pub build systems (historically)
invokedByCommand dart2js self-link
license BSD-style license (via Dart SDK)
maintainedBy Dart team
optimizedFor browser execution
web applications
outputFormat JavaScript source code
partOf Dart SDK
performs dead code elimination
minification
tree shaking
type-based optimizations
platform web platform
programmingLanguage Dart
purpose compile Dart code to JavaScript
enable Dart code to run in web browsers
replacedInSomeWorkflowsBy Dart Dev Compiler
surface form: dartdev compile js
repository https://github.com/dart-lang/sdk
runsOn Dart VM
command line
supports Dart web development
checked mode (historically)
sound null safety (modern Dart)
source maps
supportsMode debug builds
release builds
supportsOptimization true
targetLanguage JavaScript
usedBy Dart web developers
usedFor compiling AngularDart apps
compiling general Dart web apps
production web builds

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

Dart hasImplementation dart2js
dart2js includedIn dart2js self-linksurface differs
this entity surface form: Dart command-line tools
dart2js invokedByCommand dart2js self-link