Webpage Teachpack

Setup

Download this teachpack: webpages.scm for use with these assignments. Use Language|Add Teachpack... once you've downloaded the teachpack.

 

Data definition

An xexpr is either:
  - (cons symbol
          (cons (listof (list symbol string))
                (listof xexpr)))
  - string, or
  - symbol
 

Functions and Syntax

final:xexpr -> nothing
Shows the xexpression in your web browser
web-dialog:(web-dialog ([(names ...) <xexpr>] ...) <body>)
Sends the <xexpr> to the browser and extracts the results, binding them to the names. Each <input> in the xexpr must be matched with a name in names.
15100
Robby Findler