diff --git a/whalesong/README b/whalesong/README index d8f63cc..c1e83ec 100644 --- a/whalesong/README +++ b/whalesong/README @@ -29,11 +29,10 @@ amount of time. Example usage - -Create a simple, standalong executable of your program. At the -moment, the program must be written in the base language of whalesong. -(This restriction currently prevents arbitrary racket/base programs -from compiling, and we'll be working to remove this restriction.) +Create a simple, executable of your program. At the moment, the program must +be written in the base language of whalesong. (This restriction currently +prevents arbitrary racket/base programs from compiling, and we'll be working to +remove this restriction.) $ cat hello.rkt #lang whalesong @@ -42,8 +41,18 @@ from compiling, and we'll be working to remove this restriction.) $ ./whalesong.rkt build hello.rkt - $ ls -l hello.xhtml - -rw-rw-r-- 1 dyoo nogroup 692213 Jun 7 18:00 hello.xhtml + $ ls -l hello.html + -rw-rw-r-- 1 dyoo nogroup 692213 Jun 7 18:00 hello.html + +To build standalone executable of your program, provide --as-standalone-html +flag. + + $ ./whalesong.rkt build --as-standalone-html hello.rkt + + $ ls -l + -rw-rw-r-- 1 dyoo nogroup 692213 Jun 7 18:00 hello.html + +NOTE: Earlier versions had --as-standalone-xhtml flag, which is now removed. [FIXME: add more examples] @@ -187,4 +196,4 @@ This uses code from the following projects: jquery (http://jquery.com/) - [FIXME: add more] \ No newline at end of file + [FIXME: add more]