about summary refs log tree commit diff stats
path: root/309stream.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6742 - support for formatting in fake screensKartik Agaram2020-09-071-0/+2
| | | | | We still need a few primitives, but we can implement these as needed. I'm ready to call the fake screen done.
* 6687 - stream-empty? and stream-full?Kartik Agaram2020-07-301-2/+50
|
* 6684 - experimental primitives for streamsKartik Agaram2020-07-291-0/+108
This is a hacky special case. The alternative would be more general support for generics. One observation: we might be able to type-check some primitives using `sig`s. Only if they don't return anything, since primitives usually need to support arbitrary registers. I'm not doing that yet, though. It eliminates the possibility of writing tests for them in mu.subx, which can't see 400.mu. But it's an alternative: sig allocate out: (addr handle _) sig populate out: (addr handle array _), n: int sig populate-stream out: (addr handle stream _), n: int sig read-from-stream s: (addr stream _T), out: (addr _T) sig write-to-stream s: (addr stream _T), in: (addr _T) We could write the tests in Mu. But then we're testing behavior rather than the code generated. There are trade-offs. By performing type-checking in mu.subx I retain the option to write both kinds of tests.
ommit/src/room_chat.h?id=a141a997f816e8d13e6076815bcb0088dc8723f0'>a141a997 ^
f9737251 ^











a141a997 ^

2af0d38e ^

ba11e88d ^
0deba9e1 ^

740e5b42 ^
2215a379 ^
0a57c4de ^

62c10286 ^
4f7feedb ^














fac2b2cf ^





4f7feedb ^

6fd9b179 ^
60e0d5ef ^
4f7feedb ^





17757c86 ^
0338d136 ^
d25d6b45 ^
3b0f7e10 ^

d25d6b45 ^
3b0f7e10 ^

d25d6b45 ^


3b0f7e10 ^
24a45e52 ^
3b0f7e10 ^

d25d6b45 ^
3b0f7e10 ^



d25d6b45 ^
3b0f7e10 ^

dd11334b ^

3b0f7e10 ^






78a1556f ^
dd11334b ^
4f7feedb ^

3b0f7e10 ^



d25d6b45 ^
3b0f7e10 ^

d25d6b45 ^
cba17faf ^




3b0f7e10 ^

d25d6b45 ^
6b830277 ^
3b0f7e10 ^
d25d6b45 ^
6b830277 ^
d25d6b45 ^
3b0f7e10 ^
17757c86 ^
3b0f7e10 ^

d25d6b45 ^
3b0f7e10 ^

f247f367 ^
6b830277 ^
3b0f7e10 ^
4b14c0c4 ^
3b0f7e10 ^

b50b786d ^
3b0f7e10 ^



41b49cb5 ^
3b0f7e10 ^
fac2b2cf ^
ba11e88d ^
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154