guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wide chars and the VM


From: Andy Wingo
Subject: Re: Wide chars and the VM
Date: Sun, 19 Apr 2009 12:04:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Sat 18 Apr 2009 17:04, Mike Gran <address@hidden> writes:

> Andy et al.
>
> What happens to the VM if characters become UCS-4 that ranges from 0 to
> 10FFFF?
>
> For example, in compile-bytecode.scm, 
>
> (define (write-bytecode asm write-byte get-addr labels)
>   (define (write-char c)
>     (write-byte (char->integer c)))

We add a make-char24 instruction, and write a uint24 if the
(char->integer c) is bigger than 255. Sound right to you?

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]