[Cuis] About adding a Unicode handling porting layer

Angel Java Lopez ajlopez2000 at gmail.com
Wed Feb 6 05:33:52 CST 2013


Hi people!

I just found:
http://wiki.squeak.org/squeak/857 Unicode at Squeak
http://www.is.titech.ac.jp/~ohshima/squeak/
http://www.is.titech.ac.jp/~ohshima/squeak/squeak-multilingual-e.html(pending,
to read)

It's not clear to me (I'm not a Smalltalker/Squeaker/Cuiser):

Ohsima work, is a change in the Squeak VM? or in String class using pure
Smalltalk/Squeak?
Why not is that work included in Cuis? It cannot be ported?

Angel "Java" Lopez
@ajlopez

On Wed, Feb 6, 2013 at 8:24 AM, H. Hirzel <hannes.hirzel at gmail.com> wrote:

> Ken
>
> Having a comparison of a specification/implementation of a simple
> Unicode layer in another language is helpful.
>
> https://code.google.com/p/chibi-scheme/source/browse/lib/scheme/char.sld [1]
>
> So my aim is at doing something similar in the sense that I want to
> leave Cuis 4.1 more or less as is (maybe minor corrections) and then
> have an Add-On for more Unicode support.
>
> Thank you
>
> --Hannes
>
>
>
> [1]
> (define-library (scheme char)
> (import (scheme base))
> (cond-expand
> (full-unicode
> (import (chibi char-set full)
> (chibi char-set base)
> (chibi iset base))
> (include "char/full.scm")
> (include "char/case-offsets.scm"))
> (else
> (include "char/ascii.scm")
> (import
> (only (chibi)
> string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>?
> char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>?
> char-alphabetic? char-lower-case? char-numeric?
> char-upper-case? char-whitespace? digit-value
> char-upcase char-downcase))))
> (include "digit-value.scm")
> (export
> char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>?
> char-downcase char-foldcase char-lower-case? char-numeric?
> char-upcase char-upper-case? char-whitespace? digit-value
> string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>?
> string-downcase string-foldcase string-upcase))
>
> On 2/6/13, Ken Dickey <Ken.Dickey at whidbey.com> wrote:
> > On Tue, 5 Feb 2013 09:20:24 +0000
> > "H. Hirzel" <hannes.hirzel at gmail.com> wrote:
> >
> >> Hello all
> >>
> >> In the meantime I am investigating how to construct a small library
> >> which works with WideCharacters and WideStrings and the FileStream and
> >> UTF8Converter which deals with it.
> >
> > Hannes,
> >
> > Indeed Unicode is moby complex.
> >
> >       http://www.unicode.org/versions/Unicode6.2.0/
> >
> > I don't know if it helps, but Scheme has probably the minimal defined
> > Unicode support -- basically read/write, code points, comparisons, and
> > up/down-casing. The scheme standards group has argued Unicode
> implementation
> > features for years. [See 7th draft]
> >       http://scheme-reports.org/2012/working-group-1.html
> >
> > Chibi-Scheme is a bytecode implementation written in C which implements
> this
> > support.
> >
> >       https://code.google.com/p/chibi-scheme/
> >
> > This might be a stretch, but the implementation strategy has been gone
> over
> > by many eyeballs.
> >
> > $0.02,
> > -KenD
> >
> > _______________________________________________
> > Cuis mailing list
> > Cuis at jvuletich.org
> > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
> >
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20130206/58e40499/attachment-0002.html>


More information about the Cuis mailing list