Skip to content

Commit

Permalink
sketching out prototype for web-world
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Yoo committed Aug 22, 2011
1 parent 30ea1aa commit 225ea42
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web-world.rkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#lang s-exp "lang/base.rkt"
(require "web-world/main.rkt")
(provide (all-from-out "web-world/main.rkt"))
8 changes: 8 additions & 0 deletions web-world/examples/hello/hello.rkt
Original file line number Diff line number Diff line change
@@ -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))
4 changes: 4 additions & 0 deletions web-world/examples/hello/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<html>
<head><title>Hello world</title></head>
<body><h1>Hello world</h1></body>
</html>
1 change: 1 addition & 0 deletions web-world/main.rkt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#lang s-exp "../lang/base.rkt"

0 comments on commit 225ea42

Please sign in to comment.