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

Side by Side Diff: pkg/analyzer2dart/bin/analyzer2dart.dart

Issue 489943004: Sketch for the new frontend dart2dart prototype. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 /** The entry point for the command-line version analyzer2dart. */
6 library analyzer2dart.cmdline;
7
8 import 'package:analyzer/analyzer.dart';
9 import 'package:compiler/implementation/compiler.dart';
10
11 void main(List<String> args) {
12 // TODO(brianwilkerson,paulberry): Run the analyzer `args[0]` and provide
13 // access to the element model/ast of the `main` method.
14
15 // TODO(brianwilkerson,paulberry,johnniwinther): Perform tree-growing by
16 // visiting the ast and feeding the dependencies into a work queue (enqueuer).
17
18 // TODO(brianwilkerson,paulberry,johnniwinther): Convert the ast into cps by
19 // visiting the ast and invoking the ir builder.
20
21 // TODO(johnniwinther): Convert the analyzer element model into the dart2js
22 // element model to fit the needs of the cps encoding above.
23
24 // TODO(johnniwinther): Feed the cps ir into the new dart2dart backend to
25 // generate dart file(s).
26 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698