Smldb home page
Smldb is a set of database routines written in SML.
Get release 0.1.
(This is from the README file)
This software includes:
- a set of SML signatures for database modules
- two sets of "basic" relational database functors:
The simple database can be used with any number of dimensions/columns,
whereas there is a different B-Tree functor for each number of dimensions
(currently up to six, though extending these to additional dimensions is
- a simple database that uses lists to store records, and is only
suitable for very small databases, and
- a B-Tree based database that uses B-trees to store and retrieve
- functors to convert a basic database to:
- persistent databases (backed up to a file on disk)
- "single" databases (simpler programming interface, exactly one database
per SML structure)
- known deficiencies:
- the persistent databases currently use programmer-defined encoding. A
few (ASCII-based) encodings are predefined.
- persistence is implemented by writing out the entire database after
each change, which is inefficient.
- does not interoperate with any other database code.
- no database query language (unless you count SML function calls).
- only one user so far, so probably lots of undiscovered bugs.
To compile the software, start sml and run "CM.make ();". Simple
examples of usage are given in test.sml.
contact address: email@example.com.
I welcome questions, suggestions, code submissions, and information
about what you are doing with this software.