Created
January 3, 2012 09:17
-
-
Save d2m/1554220 to your computer and use it in GitHub Desktop.
install and run the dart command line REPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# move to the dart/frog folder in your checkout | |
cd ~/workspace/dartlang/dev/dart/frog | |
# build the VM | |
../tools/build.py -m release | |
# build frogsh | |
./frog.py --out=frogsh --compile-only --enable_type_checks frog.dart | |
#run the REPL | |
out/Release_ia32/frog/bin/frogsh samples/ifrog.dart | |
# you should see a '>>>' prompt | |
# enter dart code | |
# terminate with CTRL-C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment