OLD | NEW |
1 # Usage | 1 # Usage |
2 | 2 |
3 The [Dart Dev Compiler](README.md) (DDC) is an **experimental** | 3 The [Dart Dev Compiler](README.md) (DDC) is an **experimental** |
4 development compiler from Dart to EcmaScript 6. It is | 4 development compiler from Dart to EcmaScript 6. It is |
5 still incomplete, under heavy development, and not yet ready for | 5 still incomplete, under heavy development, and not yet ready for |
6 production use. | 6 production use. |
7 | 7 |
8 With those caveats, we welcome feedback for those experimenting. | 8 With those caveats, we welcome feedback for those experimenting. |
9 | 9 |
10 The easiest way to compile and run DDC generated code for now is via NodeJS. Th
e following instructions are in a state of flux - please expect them to change.
If you find issues, please let us know. | 10 The easiest way to compile and run DDC generated code for now is via NodeJS. Th
e following instructions are in a state of flux - please expect them to change.
If you find issues, please let us know. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 and run, e.g.,: | 67 and run, e.g.,: |
68 ``` | 68 ``` |
69 echo 'require("world").world.main()' | browserify -d - > world.dart.js | 69 echo 'require("world").world.main()' | browserify -d - > world.dart.js |
70 ``` | 70 ``` |
71 | 71 |
72 The produced `world.dart.js` fully links all dependencies (`dart_sdk`, `hello`,
and `world`) and executes `world.main`. It can be loaded via script tag and run
in Chrome (stable or later). | 72 The produced `world.dart.js` fully links all dependencies (`dart_sdk`, `hello`,
and `world`) and executes `world.main`. It can be loaded via script tag and run
in Chrome (stable or later). |
73 | 73 |
74 ## Feedback | 74 ## Feedback |
75 | 75 |
76 Please file issues in our [GitHub issue tracker](https://github.com/dart-lang/de
v_compiler/issues). | 76 Please file issues in our [GitHub issue tracker](https://github.com/dart-lang/sd
k/issues). |
77 | 77 |
78 You can also view or join our [mailing list](https://groups.google.com/a/dartlan
g.org/forum/#!forum/dev-compiler). | 78 You can also view or join our [mailing list](https://groups.google.com/a/dartlan
g.org/forum/#!forum/dev-compiler). |
79 | 79 |
80 | 80 |
81 | 81 |
OLD | NEW |