[MLton] unicode

Matthew Fluet fluet@cs.cornell.edu
Fri, 9 Sep 2005 13:25:06 -0400 (EDT)


>> I've found this by accident:
>> 
>>   http://srfi.schemers.org/srfi-75/
>> 
>> How is the state of the art for the support of Unicode in sml, especially 
>> mlton?
>
> There is no real support for Unicode in the Definition of Standard ML;
> there are a few throw-away sentences stating things along the lines of "ASCII 
> must be a subset of the character set in programs", but that hardly 
> constitues support.
>
> Neither is there real support for Unicode in the Standard ML Basis Library. 
> The general consensus (which includes the opinions of the editors of the 
> Basis Library) is that the LargeChar structure is insufficient for the 
> purposes of Unicode.

I should also point out "fxp - a functional XML parser" which has some 
support for dealing with Unicode documents:
  http://atseidl2.informatik.tu-muenchen.de/~berlea/Fxp/

I've not used it, so I'm afraid I cannot comment further.