Vyacheslav Egorov
6fc00fe8cf
[kernel] Add the first version of async transformer.
...
This transformer is responsible for lifting subexpression into temporary variables preserved across yield points.
To maintain AST validity I introduced an expression that can contain a block of statements inside called BlockExpression.
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/458577014 .
2016-08-02 12:14:50 +02:00
Asger Feldthaus
2432655e48
[kernel] Add support for batch mode in dartk.
...
Also forwards errors reported by the analyzer for use
in testing.
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/476727013 .
2016-07-22 17:42:32 +02:00
Asger Feldthaus
455d92f76a
[kernel] Use allowTrailingOptions flag in dartk.
...
There was a flag for this in the args package that I somehow missed the
first time around.
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/474927013 .
2016-07-20 14:57:59 +02:00
Asger Feldthaus
10d54d7a61
[kernel] Change the default binary file extension to .dill
...
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/475637013 .
2016-07-19 17:52:33 +02:00
Martin Kustermann
1d0f534832
[kernel] Revert "Implement binary format implementation for BlockExpression"
...
This accidentally landed on master branch.
2016-07-08 09:22:36 +02:00
Martin Kustermann
4acb4446fd
[kernel] Implement binary format implementation for BlockExpression
...
R=vegorov@google.com
Review URL: https://chromereviews.googleplex.com/462427014 .
2016-07-08 09:18:01 +02:00
Asger Feldthaus
d61e67d85a
[kernel] Fix a broken parent pointer and add option in dartk to check them.
...
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/460807013 .
2016-06-28 11:15:48 +02:00
Peter von der Ahé
0e36559dd4
[kernel] Reduce dependencies on analyzer.
...
R=asgerf@google.com
Review URL: https://chromereviews.googleplex.com/445507013 .
2016-06-17 11:41:26 +02:00
Asger Feldthaus
811a47d430
[kernel] Initial implementation of Dart Kernel.
...
Contains:
- Command-line tool
- Kernel AST
- Binary serialization
- Printing as text
- Frontend based on analyzer
- Class hierarchy and type algebra
2016-04-26 10:39:15 +02:00