Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Issue 1207313002: initial sync*, part of #221 (Closed)

Created:
5 years, 6 months ago by Jennifer Messerly
Modified:
5 years, 6 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org, ochafik
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

initial sync*, part of #221 Right now it maps straight to ES6 generators. This should handle some basic cases, but there's more work to get all of the corners working. For example: it doesn't implement Iterable yet. R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/06e98b6d0f89c731e283cc4ab90becabe9fe92e2

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1279 lines, -114 lines) Patch
M lib/runtime/dart/_isolate_helper.js View 1 2 9 chunks +20 lines, -20 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M lib/runtime/dart/async.js View 1 2 20 chunks +38 lines, -38 lines 0 comments Download
M lib/runtime/dart/collection.js View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/runtime/dart/convert.js View 5 chunks +8 lines, -8 lines 0 comments Download
M lib/runtime/dart/core.js View 11 chunks +22 lines, -22 lines 0 comments Download
M lib/runtime/dart/isolate.js View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/runtime/dart/js.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 7 chunks +38 lines, -13 lines 0 comments Download
M lib/src/codegen/js_metalet.dart View 2 chunks +9 lines, -1 line 0 comments Download
M lib/src/js/nodes.dart View 1 2 9 chunks +47 lines, -3 lines 0 comments Download
M lib/src/js/precedence.dart View 1 chunk +2 lines, -1 line 0 comments Download
M lib/src/js/printer.dart View 3 chunks +9 lines, -0 lines 0 comments Download
M lib/src/js/template.dart View 1 chunk +3 lines, -0 lines 0 comments Download
A test/codegen/expect.dart View 1 chunk +426 lines, -0 lines 0 comments Download
A test/codegen/expect/expect.js View 1 chunk +341 lines, -0 lines 0 comments Download
A test/codegen/expect/expect.txt View 1 chunk +10 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_syntax.js View 1 chunk +44 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_syntax.txt View 1 chunk +13 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_yield_test.js View 1 chunk +59 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_yield_test.txt View 1 chunk +13 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_yieldstar_test.js View 1 chunk +33 lines, -0 lines 0 comments Download
A test/codegen/expect/syncstar_yieldstar_test.txt View 1 chunk +19 lines, -0 lines 0 comments Download
A test/codegen/syncstar_syntax.dart View 1 chunk +32 lines, -0 lines 0 comments Download
A test/codegen/syncstar_yield_test.dart View 1 chunk +56 lines, -0 lines 0 comments Download
A test/codegen/syncstar_yieldstar_test.dart View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Jennifer Messerly
https://codereview.chromium.org/1207313002/diff/1/lib/runtime/dart/_isolate_helper.js File lib/runtime/dart/_isolate_helper.js (left): https://codereview.chromium.org/1207313002/diff/1/lib/runtime/dart/_isolate_helper.js#oldcode614 lib/runtime/dart/_isolate_helper.js:614: let respond = () => { this is a ...
5 years, 6 months ago (2015-06-25 18:17:45 UTC) #2
Jennifer Messerly
btw, the old CL for FunctionDeclarationStatement was: https://codereview.chromium.org/1132113003/diff/1/lib/src/codegen/js_codegen.dart#newcode1072
5 years, 6 months ago (2015-06-25 19:34:37 UTC) #3
Jennifer Messerly
fyi, I'm continuing to work from this, adding async/async*. One thing I might change there ...
5 years, 6 months ago (2015-06-25 23:27:33 UTC) #4
vsm
lgtm Are the new files (expect, tests) from the main repo? Perhaps we should we ...
5 years, 6 months ago (2015-06-26 13:47:39 UTC) #5
Jennifer Messerly
On 2015/06/26 13:47:39, vsm wrote: > lgtm > > Are the new files (expect, tests) ...
5 years, 6 months ago (2015-06-26 15:47:30 UTC) #6
Jennifer Messerly
5 years, 6 months ago (2015-06-26 23:02:34 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
06e98b6d0f89c731e283cc4ab90becabe9fe92e2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698