On Sat 18 Apr 2009 17:04, Mike Gran <spk...@yahoo.com> 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/