[MLton] Unicode... again

Gergely Buday gbuday at gmail.com
Thu Feb 8 22:18:51 PST 2007


On 08/02/07, Wesley W. Terpstra <terpstra at gkec.tu-darmstadt.de> wrote:
> Once again I find myself needing Unicode in MLton.
[...]
> Agreed? Can I just whip this up and check it in? ;-)

I'm getting into using ml-ulex, which is a unicode-able lexer for
sml/nj. As far as I understood, it uses   4-byte chars:
ml-lpt/ml-ulex/BackEnds/SML/template-ml-ulex.sml contains

      structure W = Word32
      type wchar = W.word

It would be nice to be able to use ml-ulex with your proposed unicode
library. For the first step I'll try to compile ml-ulex with mlton.

Best Wishes

- Gergely



More information about the MLton mailing list