diff --git a/README.md b/README.md index 645a782849..f2f75eb5f5 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,18 @@ A scripting language. The use of vocabulary from http://reservationsbvi.com/thisoldpirate/glossary.html is recommended when commenting and reporting issues. + +Setting Sail +------------ + +First, make sure ye've installed [Racket](http://racket-lang.org) (at least +v5.3). Then run: + + $ make + +It'll build the Pyret compiler, run the tests, and hoist the +anchor. + +When yer ready to brave the sea, run: + + $ racket examples/ahoy-world.arr diff --git a/examples/ahoy-world.arr b/examples/ahoy-world.arr new file mode 100644 index 0000000000..bc1b2c3f97 --- /dev/null +++ b/examples/ahoy-world.arr @@ -0,0 +1,3 @@ +#lang pyret + +print("Ahoy world!") diff --git a/htdp/arithmetic.arr b/examples/htdp/arithmetic.arr similarity index 100% rename from htdp/arithmetic.arr rename to examples/htdp/arithmetic.arr diff --git a/htdp/boolean.arr b/examples/htdp/boolean.arr similarity index 100% rename from htdp/boolean.arr rename to examples/htdp/boolean.arr diff --git a/htdp/conversions.arr b/examples/htdp/conversions.arr similarity index 100% rename from htdp/conversions.arr rename to examples/htdp/conversions.arr diff --git a/htdp/def.arr b/examples/htdp/def.arr similarity index 100% rename from htdp/def.arr rename to examples/htdp/def.arr diff --git a/htdp/more-arithmetic.arr b/examples/htdp/more-arithmetic.arr similarity index 100% rename from htdp/more-arithmetic.arr rename to examples/htdp/more-arithmetic.arr diff --git a/htdp/string.arr b/examples/htdp/string.arr similarity index 100% rename from htdp/string.arr rename to examples/htdp/string.arr diff --git a/htdp/struct.arr b/examples/htdp/struct.arr similarity index 100% rename from htdp/struct.arr rename to examples/htdp/struct.arr diff --git a/htdp/types.arr b/examples/htdp/types.arr similarity index 100% rename from htdp/types.arr rename to examples/htdp/types.arr