| OLD | NEW |
| 1 To use frog: | 1 To use frog: |
| 2 | 2 |
| 3 1) Frog is now included in the checkout of the public repo of the bleeding_edge | 3 1) Frog is now included in the checkout of the public repo of the bleeding_edge |
| 4 branch. The code will be located under $DART/frog. | 4 branch. The code will be located under $DART/frog. |
| 5 | 5 |
| 6 Note that $DART/frog/ is a separate dependency in 'all.deps/DEPS', for this | 6 Note that $DART/frog/ is a separate dependency in 'all.deps/DEPS', for this |
| 7 reason changes in the frog directory will have to be submitted separately | 7 reason changes in the frog directory will have to be submitted separately |
| 8 from changes to the rest of the dart repo. | 8 from changes to the rest of the dart repo. |
| 9 | 9 |
| 10 (git users): If you'd prefer to use git, you can do the following to have a | 10 (git users): If you'd prefer to use git, you can do the following to have a |
| 11 git setup for the frog subdirectory: | 11 git setup for the frog subdirectory: |
| 12 $ rm -rf $DART/frog/ | 12 $ rm -rf $DART/frog/ |
| 13 $ cd $DART | 13 $ cd $DART |
| 14 $ git svn clone -rHEAD https://dart.googlecode.com/svn/experimental/frog frog | 14 $ git svn clone -rHEAD https://dart.googlecode.com/svn/experimental/frog frog |
| 15 | 15 |
| 16 2) Build the vm and create a symbol link for it in frog: | 16 2) Make sure you have 'node' in your path (http://nodejs.org/, and |
| 17 $ cd $DART | |
| 18 $ ./tools/build.py --arch=ia32 -m release dart_bin | |
| 19 $ frog/ | |
| 20 $ mkdir bin | |
| 21 $ ln -s $DART/$OUTDIR_PREFIX/Release_ia32/dart_bin bin/dart_bin | |
| 22 (Note: use an absolute path for the first argument) | |
| 23 | |
| 24 3) Make sure you have 'node' in your path (http://nodejs.org/, and | |
| 25 https://github.com/joyent/node/wiki/Installation for how to install) | 17 https://github.com/joyent/node/wiki/Installation for how to install) |
| 26 | 18 |
| 27 | 19 |
| 28 BEFORE YOU SUBMIT | 20 BEFORE YOU SUBMIT |
| 29 | 21 |
| 30 | 22 |
| 31 Before you submit, you should: | 23 Before you submit, you should: |
| 32 | 24 |
| 33 1) Run the html tests: | 25 1) Run the html tests: |
| 34 | 26 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 61 | 53 |
| 62 $ ./frog.py --js_out=frogsh -- frog.dart | 54 $ ./frog.py --js_out=frogsh -- frog.dart |
| 63 | 55 |
| 64 (this will make frogsh the same as | 56 (this will make frogsh the same as |
| 65 $DART/frog/$OUTDIR_PREFIX/Release_ia32/dart_bin) | 57 $DART/frog/$OUTDIR_PREFIX/Release_ia32/dart_bin) |
| 66 | 58 |
| 67 To run the self-hosted compiler, you can just type frogsh. | 59 To run the self-hosted compiler, you can just type frogsh. |
| 68 | 60 |
| 69 $ ./frogsh tests/hello.dart | 61 $ ./frogsh tests/hello.dart |
| 70 This should print 'hello world'. | 62 This should print 'hello world'. |
| OLD | NEW |