sml_tk patches
Last update 2010/04/19
This patch is to allow
to compile
sml_tk on SML/NJ with the latest
SML Basis Library(v110.72).
Note that this patch assumes that
another patch
released by Timothy Bourke
is already applied.
Applying patches
- Install the latest version of SML/NJ (v110.72).
- Download and untar the sml_tk
sources
- Download and untar the
patches (by Timothy Bourke)
- patch -p0 < sml_tk-patches/sml_tk-3.0.20080113.patch
- Optional: patch -p0 < sml_tk-patches/config-showColor.patch
- Optional: patch -p0 < sml_tk-patches/litem.patch
- Optional: patch -p0 < sml_tk-patches/widget_tree.sml-scrollbar.patch
- Download and untar
this patch
- patch -p0 < sml_tk-patches-20100419/sml_tk-3.0.20100419.patch
- Change into the sml_tk directory.
- Edit the Makefile setting values for:
- SMLTK_LIB: Path to the sml_tk/lib subdirectory, e.g.: ${PWD}/lib
- SMLTK_TCL: Path to the wish executable, e.g.: /usr/local/bin/wish8.4
- SMLTK_BINARY: Path to create an sml_tk heap, e.g.: ./sml-tk
- Run make
- Run the newly created heap, e.g. cd src; ./sml-tk
- Try one of the examples: BigEx.go ();
(which should start a small demo in a new window).
Links
- SICP in SML/NJ
: In this work, sml_tk is used to implement the Picture languages.
Home