Browse files

  • Loading branch information...
j4cbo committed Sep 30, 2013
1 parent a829f63 commit 742a51995076e33f5c2d7b9f12a2430336d7cf7a
Showing with 42 additions and 10 deletions.
  1. +0 −10 README
  2. +42 −0

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,42 @@
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.
- Core Web application types, signatures, and utility functions.
- A high-performance userspace threading system.
- Server implementations of FastCGI, SCGI, and HTTP, allowing Stilts applications to be invoked from a variety of front-end Web servers or as a standalone daemon.
- Smelt, an HTML / XML templating system.
- Squall, a SQL query wrapper function generator.
- Infrastructure for interfacing with MySQL and SQLite.
- A simple Wiki, as a demo application.
See each component's README file for more documentation.
Some notes:
- On debian, you will need to install the following packages in addition to smlnj:
libckit-smlnj libmlnlffi-smlnj ml-nlffigen ml-lex ml-yacc ml-lpt
- ml-yacc may fail like so:
Usage: ml-yacc filename
../db/squall/ Error: tool "ML-Yacc" failed: "/usr/lib/smlnj/bin/ml-yacc" "" "input.grm"
Run ml-yacc filename by hand. (Argh, SML/NJ.)

0 comments on commit 742a519

Please sign in to comment.