[MLton] MLton wiki
Mon, 1 Nov 2004 22:13:33 -0500 (EST)
Following Brent's suggestion, the MLton wiki uses enscript to syntax
highlight sml code. See
for it in action.
The wiki syntax is:
structure S : sig type t end =
type t = int
val x = "foo"
> > > What version of MoinMoin are you using? I'm
> > > wondering how hard it would be to write an SML
> > > syntax highlighter.
> Note that you can use GNU enscript to provide the
> syntax highlighting. We did something similar on the
> Scheme and Erlang Cookbook websites. For example,
> here's what the enscript output looks like:
> IIRC, enscript already has SML support, and if not
> it's quite easy to teach it.