My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Frog is a dart compiler implemented in dart. It is currently focused on
compiling dart code to efficient and readable javascript code. However, it
is ultimately intended to be the basis for future code analysis tools and
development environments when these can be built in dart as well. Two
very early examples of this kind of use are in the samples directory:
* doc.dart - minimal documentation generator
* ifrog.dart - minimal command-line REPL for dart



To use frog:

1) Frog is now included in the checkout of the public repo of the bleeding_edge
branch. The code will be located under dart/frog.

2) From the dart/frog directory, run the presubmit script to check your
installation is all working.
frog$ ./presubmit.py


BEFORE YOU SUBMIT

Before you submit, you should:

1) Run the html tests:

$ ./frog.py --html -- tests/htmltest.dart
$ ./frog.py --html -- tests/canvastest.dart

These will open a browser -- verify in the console that no errors
happened.

2) Run the presubmit script:

$ ./presubmit.py

Note:

If you make any changes to files under tests, you are expected to ensure that
you don't break any of the other configurations. If you only change the status of tests for frog, you should be okay. However, if you
modify any of the tests themselves, please run the tests with both vm and
dartc configurations before checking in.


Details:

You can use build.py and test.py (that are run by the presubmit script):

$ ../tools/build.py --mode=release,debug
$ ../tools/test.py --report -t 5 -p color --mode=release --component=frog language corelib leg

The 'frog' component is frog running on the VM.

Change log

r6840 by a...@google.com on Apr 23, 2012   Diff
Remove frogsh.

Review URL: https://chromiumcodereview.app
spot.com//10164004
Go to: 

Older revisions

r2481 by e...@google.com on Dec 15, 2011   Diff
A few notes on installing nodejs.
Review URL: http://codereview.chromium
.org//8758014
r2035 by jim...@google.com on Dec 2, 2011   Diff
kick the buildbots

Review URL: http://codereview.chromium
.org//8784002
r1627 by rnyst...@google.com on Nov 17, 2011   Diff
Clean and create output directory when
generating docs.

Review URL: http://codereview.chromium
.org//8572044
All revisions of this file

File info

Size: 1656 bytes, 52 lines
Powered by Google Project Hosting