Permalink
Browse files

sketching out prototype for web-world

  • Loading branch information...
1 parent 30ea1aa commit 225ea42d0c84baae4b17012fc0efad4abf03739f Danny Yoo committed Aug 22, 2011
Showing with 16 additions and 0 deletions.
  1. +3 −0 web-world.rkt
  2. +8 −0 web-world/examples/hello/hello.rkt
  3. +4 −0 web-world/examples/hello/index.html
  4. +1 −0 web-world/main.rkt
View
@@ -0,0 +1,3 @@
+#lang s-exp "lang/base.rkt"
+(require "web-world/main.rkt")
+(provide (all-from-out "web-world/main.rkt"))
@@ -0,0 +1,8 @@
+#lang planet dyoo/whalesong
+(require (planet dyoo/whalesong/web-world)
+ (planet dyoo/whalesong/resource))
+
+(define-resource index.html "index.html")
+
+(big-bang "don't care"
+ (initial-view index.html))
@@ -0,0 +1,4 @@
+<html>
+<head><title>Hello world</title></head>
+<body><h1>Hello world</h1></body>
+</html>
View
@@ -0,0 +1 @@
+#lang s-exp "../lang/base.rkt"

0 comments on commit 225ea42

Please sign in to comment.