Arc

Architecture

HTML
An HTML library writes HTML tag trees to standard output.
Web Server
Request handlers are defined in a very similar way to functions. The web server dispatches requests to a matching handler, and redirects standard out to the response stream.
Closures
The web server can register a closure as the destination of a link or form. In the case of a form, the closure receives a hash table of the submitted values.

State

State is maintained by passing data to closures.

Source Files

The entire source is a single Arc script, App.arc.

Deployment

(load "App.arc")

Tools

Anarki comes with Arc modes for Emacs and Vim. An IDE for Arc, Arc Welder, is also under development.