From: Jim Weirich Date: 2002-11-09T15:24:57+09:00 Subject: Re: Random idea: Procedural CGI?? On Fri, 2002-11-08 at 21:56, Hal E. Fulton wrote: > That is, I'd like it if I could write > something like: [... procedural CGI example elided ...] Hal, too bad you couldn't make the Ruby Conference. Avi Bryant presented a very similar example based on the Borges (spelling?) library. His example was a console app using "ask" and "display" methods to prompt and get data. By changing two lines in the file (the require line and the call to "main"), he was able to convert the example from a console app to a web app. Very cool. The really interesting part is how he supports the back button in web browsers. Essentially this requires backing up the procedural program to an earlier state ... which is a perfect use for continuations. I see another response to your request mentioned the squeak verion of Iowa (which is also by Avi). Is the squeak version similar to Borges? -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)