about summary refs log tree commit diff stats
path: root/030translate.cc
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 /030translate.cc
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 '030translate.cc')
0 files changed, 0 insertions, 0 deletions
rofani-tty/blame/src/plugins/profapi.h?id=f887a35c0cd550a3c635630da2bd83bb7400b957'>^
9cff3735 ^

41fe8c22 ^
c6288d89 ^
1e37b755 ^
61a09476 ^
fd218ac3 ^

dcc2123e ^
70a79abd ^
a65403c5 ^
c6288d89 ^
41fe8c22 ^
51a7588b ^


41fe8c22 ^

1654f16a ^
ac91e7ef ^
1654f16a ^
41fe8c22 ^
29eb843d ^
8f9f018d ^
51a7588b ^
41fe8c22 ^
51a7588b ^
41fe8c22 ^
61a09476 ^
fd218ac3 ^

dcc2123e ^
41fe8c22 ^






ab08d0a3 ^
d90c47f2 ^

41fe8c22 ^
8008d8c3 ^

41fe8c22 ^




51a7588b ^
41fe8c22 ^
1654f16a ^

ac91e7ef ^

4c913aa0 ^

efeb2fcf ^






2518aa50 ^

efeb2fcf ^
41fe8c22 ^
194c53c4 ^

a65403c5 ^
623fbe9e ^
fccf56be ^

1b25aa84 ^

c8874cd2 ^



9cfd1782 ^



1b25aa84 ^
7090f85d ^







41fe8c22 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130