about summary refs log tree commit diff stats
path: root/040tests.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-02 20:51:52 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-02 20:53:36 -0700
commitab445d6e7538538e1dc2e5b419b2d2727d0d096f (patch)
treee5ddb41b2480a841753421babc35377258fd13cb /040tests.cc
parentea2d44bdefef7ded28cc33dbb6ac85842dc6ca44 (diff)
downloadmu-ab445d6e7538538e1dc2e5b419b2d2727d0d096f.tar.gz
6710 - utf-8 encoding
Example program:

  fn main -> r/ebx: int {
    var x/eax: code-point <- copy 0x2192  # unicode character 'rightwards arrow'
    print-code-point 0, x
    print-string 0, "\n"
    r <- copy 0
  }

Run:
  $ ./translate_mu x.mu  &&  ./a.elf
  →
  $
Diffstat (limited to '040tests.cc')
0 files changed, 0 insertions, 0 deletions