about summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-02 15:31:56 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-02 15:50:19 -0700
commit89c9ed80f9f7f4d4d40fea44c6e08362cfde50c7 (patch)
tree2ab8f044346695447468303e1f74372e5f158d76 /tools
parent0f5d0ec519c5b6fbb36ace912426e6a3fb8aa8ec (diff)
downloadmu-89c9ed80f9f7f4d4d40fea44c6e08362cfde50c7.tar.gz
6706 - support utf-8
For example:

  fn main -> r/ebx: int {
    var x/eax: grapheme <- copy 0x9286e2  # code point 0x2192 in utf-8
    print-grapheme-to-real-screen x
    print-string-to-real-screen "\n"
  }

Graphemes must fit in 4 bytes (21 bits for code points). Unclear what we
should do for longer clusters since graphemes are a fixed-size type at
the moment.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions