2nd combinator parser example

Stephen Weeks MLton@sourcelight.com
Thu, 28 Mar 2002 16:19:22 -0800


> This one is a text-file parser rather than a binary
> parser (so you should even be able to test it with
> your current mlton without my changes...).

Did you send the wrong file?  I tried to compile with an older MLton,
but failed due to references to BinIO.

% mlton sources.cm
FunctionalIO/srcSML/FunctionalIO.sml:166.33-166.47 Error: unbound tycon BinIO.instream
FunctionalIO/srcSML/FunctionalIO.sml:167.33-167.45 Error: unbound variable BinIO.openIn
FunctionalIO/srcSML/FunctionalIO.sml:168.34-168.47 Error: unbound variable BinIO.closeIn
FunctionalIO/srcSML/FunctionalIO.sml:169.32-169.43 Error: unbound variable BinIO.input
mlton: compilation aborted: elaborate reported errors