SML On Stilts

Stilts is a framework for robust web development based on multistage programming. Rather than performing extensive introspection and processing at runtime, Stilts compiles portions of the application together in multiple passes to ensure strict correctness between components. For example, templates are never parsed on the fly; instead, they are pre-serialized as much as possible into code. Type-checking all invocations of the template ensures that the application always passes templates the parameters they expect. Similarly, SQL statements are wrapped together with their input and output types, and escaping code inserted automatically.

The framework is written in Standard ML. Both SML/NJ and MLton are supported, with parallel CM and ML Basis build systems.

Components

See each component's README file for more documentation.

Source

Stilts is available under a standard 3-clause BSD license. Source code can be browsed through gitweb, or by cloning the repository:

git clone http://git.emarhavil.com/git/stilts.git