Skip to content

Instantly share code, notes, and snippets.

@d2m
Created January 3, 2012 09:17
Show Gist options
  • Save d2m/1554220 to your computer and use it in GitHub Desktop.
Save d2m/1554220 to your computer and use it in GitHub Desktop.
install and run the dart command line REPL
#!/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