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

Issue 2417043003: Initial API for the Dart front_end package. (Closed)

Created:
4 years, 2 months ago by Paul Berry
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 69

Patch Set 2 : Rework based on review comments. #

Patch Set 3 : Fixes #

Total comments: 8

Patch Set 4 : Address code review comments #

Total comments: 37

Patch Set 5 : Address further review comments. #

Patch Set 6 : Fix trivial error in resolved_ast_generator.dart #

Patch Set 7 : Rework with Brianwilkerson #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -0 lines) Patch
A pkg/front_end/lib/compilation_error.dart View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A pkg/front_end/lib/compiler_options.dart View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A pkg/front_end/lib/kernel_generator.dart View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A pkg/front_end/lib/resolved_ast_generator.dart View 1 2 3 4 5 1 chunk +59 lines, -0 lines 2 comments Download
A pkg/front_end/lib/summary_generator.dart View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (3 generated)
Paul Berry
Here is a first cut at a possible API for a Dart front end to ...
4 years, 2 months ago (2016-10-13 22:38:26 UTC) #2
Siggi Cherem (dart-lang)
Hey Paul - this looks great! Thanks for putting this together. I'm just bombarding you ...
4 years, 2 months ago (2016-10-13 23:22:16 UTC) #3
Brian Wilkerson
Some preliminary thoughts. I'd like to think about it a little more deeply and then ...
4 years, 2 months ago (2016-10-13 23:37:02 UTC) #4
Bob Nystrom
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode5 pkg/front_end/lib/compiler_api.dart:5: /// Defines the front end API to be used ...
4 years, 2 months ago (2016-10-13 23:56:11 UTC) #6
scheglov
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode13 pkg/front_end/lib/compiler_api.dart:13: typedef void ErrorHandler(CompilationError); typedef void ErrorHandler(CompilationError error); https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode54 pkg/front_end/lib/compiler_api.dart:54: ...
4 years, 2 months ago (2016-10-13 23:58:17 UTC) #7
Paul Berry
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compilation_error.dart File pkg/front_end/lib/compilation_error.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compilation_error.dart#newcode9 pkg/front_end/lib/compilation_error.dart:9: import 'source_location.dart'; On 2016/10/13 23:37:01, Brian Wilkerson wrote: > ...
4 years, 2 months ago (2016-10-14 00:09:37 UTC) #8
Brian Wilkerson
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode17 pkg/front_end/lib/compiler_api.dart:17: /// Intended use: create a CompilerApi object, set any ...
4 years, 2 months ago (2016-10-14 14:54:45 UTC) #9
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode5 pkg/front_end/lib/compiler_api.dart:5: /// Defines the front end API to be used ...
4 years, 2 months ago (2016-10-14 16:00:49 UTC) #10
Bob Nystrom
https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode5 pkg/front_end/lib/compiler_api.dart:5: /// Defines the front end API to be used ...
4 years, 2 months ago (2016-10-14 16:12:18 UTC) #11
Paul Berry
Thanks for the comments, everyone. I will rework this and publish a version 2 as ...
4 years, 2 months ago (2016-10-14 21:32:35 UTC) #12
Paul Berry
Reworked based on review comments. PTAL.
4 years, 2 months ago (2016-10-15 13:41:55 UTC) #13
scheglov
lgtm https://codereview.chromium.org/2417043003/diff/40001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/40001/pkg/front_end/lib/options.dart#newcode19 pkg/front_end/lib/options.dart:19: /// If `null`, the SDK will be searched ...
4 years, 2 months ago (2016-10-16 21:19:39 UTC) #14
Paul Berry
https://codereview.chromium.org/2417043003/diff/40001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/40001/pkg/front_end/lib/options.dart#newcode19 pkg/front_end/lib/options.dart:19: /// If `null`, the SDK will be searched for ...
4 years, 2 months ago (2016-10-17 12:54:39 UTC) #15
Brian Wilkerson
https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/kernel_generator.dart File pkg/front_end/lib/kernel_generator.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/kernel_generator.dart#newcode23 pkg/front_end/lib/kernel_generator.dart:23: Future<kernel.Program> compileProgram(Options options, Uri source) => Using "compile" seems ...
4 years, 2 months ago (2016-10-17 15:08:14 UTC) #16
Siggi Cherem (dart-lang)
looks great Paul, a few minor comments and replies below https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart File pkg/front_end/lib/compiler_api.dart (right): https://codereview.chromium.org/2417043003/diff/1/pkg/front_end/lib/compiler_api.dart#newcode64 ...
4 years, 2 months ago (2016-10-17 16:27:30 UTC) #17
Paul Berry
PATL https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/compilation_error.dart File pkg/front_end/lib/compilation_error.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/compilation_error.dart#newcode23 pkg/front_end/lib/compilation_error.dart:23: FileSpan get location; On 2016/10/17 16:27:29, Siggi Cherem ...
4 years, 2 months ago (2016-10-17 17:04:28 UTC) #18
Brian Wilkerson
https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart#newcode36 pkg/front_end/lib/options.dart:36: List<String> inputSummaries = []; > > If that's true, ...
4 years, 2 months ago (2016-10-17 17:09:16 UTC) #19
Brian Wilkerson
https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart#newcode42 pkg/front_end/lib/options.dart:42: String sdkSummary; > ... in the modular compilation case, ...
4 years, 2 months ago (2016-10-17 17:20:44 UTC) #20
Paul Berry
https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart#newcode36 pkg/front_end/lib/options.dart:36: List<String> inputSummaries = []; On 2016/10/17 17:09:16, Brian Wilkerson ...
4 years, 2 months ago (2016-10-17 17:32:06 UTC) #21
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart#newcode36 pkg/front_end/lib/options.dart:36: List<String> inputSummaries = []; On 2016/10/17 17:32:06, Paul Berry ...
4 years, 2 months ago (2016-10-17 18:25:31 UTC) #22
Paul Berry
PTAL https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart File pkg/front_end/lib/options.dart (right): https://codereview.chromium.org/2417043003/diff/60001/pkg/front_end/lib/options.dart#newcode36 pkg/front_end/lib/options.dart:36: List<String> inputSummaries = []; On 2016/10/17 18:25:31, Siggi ...
4 years, 2 months ago (2016-10-17 18:38:43 UTC) #23
Brian Wilkerson
lgtm https://codereview.chromium.org/2417043003/diff/120001/pkg/front_end/lib/resolved_ast_generator.dart File pkg/front_end/lib/resolved_ast_generator.dart (right): https://codereview.chromium.org/2417043003/diff/120001/pkg/front_end/lib/resolved_ast_generator.dart#newcode36 pkg/front_end/lib/resolved_ast_generator.dart:36: Future<ResolvedAsts> resolvedAstFor( "resolvedAstFor" --> "resolvedAstsFor"
4 years, 2 months ago (2016-10-17 19:24:55 UTC) #24
Paul Berry
https://codereview.chromium.org/2417043003/diff/120001/pkg/front_end/lib/resolved_ast_generator.dart File pkg/front_end/lib/resolved_ast_generator.dart (right): https://codereview.chromium.org/2417043003/diff/120001/pkg/front_end/lib/resolved_ast_generator.dart#newcode36 pkg/front_end/lib/resolved_ast_generator.dart:36: Future<ResolvedAsts> resolvedAstFor( On 2016/10/17 19:24:55, Brian Wilkerson wrote: > ...
4 years, 2 months ago (2016-10-17 19:28:43 UTC) #25
Paul Berry
4 years, 2 months ago (2016-10-17 19:36:13 UTC) #27
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
0753607deae0fae027da707d013ad2cdf1503414 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698