Copyright 2010-2014, Martin Elsman
This repository contains a simple Standard ML 2D drawing library. The library comes with multiple backends, including a LaTeX backend and an SVG backend.
The library assumes a Standard ML compiler that supports MLB
files. MLKit or
MLton will work. To run the test examples, you
also need pdflatex
installed.
To try a simple example, type
$ cd test
$ make simple
To try a series of examples, type
$ make
The examples generate .tex-files, which are processed by pdflatex
, and
.xml-files, which can be injected into HTML and loaded by a Web
browser.
See Makefile and test/Makefile for details of the building process.
See draw.sig for library signatures and test/simple.sml and test/draw_house.sml for examples.
The library is distributed under the MIT License; see the LICENSE file for details.