about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-24 01:17:46 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-24 01:17:46 -0700
commit070cac028c5e098fada47f280cb677406a43b7ea (patch)
tree095486be0edf2a98cc24453406b1d884afc4f220 /subx
parenteea61cc12c1e020c3f273cb858edf02772fe78e8 (diff)
downloadmu-070cac028c5e098fada47f280cb677406a43b7ea.tar.gz
5462 - What's next for Mu? Look here.
Diffstat (limited to 'subx')
-rw-r--r--subx/Readme.md41
1 files changed, 13 insertions, 28 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index 28bef860..53b12ca4 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -337,31 +337,12 @@ runnable on a Linux system running on Intel x86 processors, either 32- or
 
 ## Roadmap and status
 
-* Bootstrapping a SubX-\>ELF translator in SubX
-  - examples/ex1.subx (✓)
-  - examples/ex2.subx (✓)
-  - examples/ex3.subx (✓)
-  - examples/ex4.subx (✓)
-  - examples/ex5.subx (✓)
-  - examples/ex6.subx (✓)
-  - examples/ex7.subx (✓)
-  - examples/ex8.subx (✓)
-  - examples/ex9.subx (✓)
-  - examples/ex10.subx (✓)
-  - examples/ex11.subx (✓)
-  - examples/ex12.subx (✓)
-  - apps/factorial.subx (✓)
-  - apps/crenshaw2-1.subx (✓)
-  - apps/crenshaw2-1b.subx (✓)
-  - apps/handle.subx (✓)
-  - apps/hex.subx
-  - apps/survey.subx
-  - apps/pack.subx
-  - apps/assort.subx
-  - apps/dquotes.subx
-  - apps/tests.subx
-
-  SubX in SubX: `tests |dquotes |assort |pack |survey |hex`
+* Self-hosting. (✓)
+
+  `tests |dquotes |assort |pack |survey |hex`
+
+* A script to package SubX together with a minimal Linux kernel image
+  (compiled from source, of course).
 
 * Testable, dependency-injected vocabulary of primitives
   - Streams: `read()`, `write()`. (✓)
@@ -370,11 +351,15 @@ runnable on a Linux system running on Intel x86 processors, either 32- or
   - Files
   - Concurrency, and a framework for testing blocking code
 
-* Using the trace in [white-box tests](https://git.sr.ht/~akkartik/basic-whitebox-test/tree/master/Readme.md)
-  for performance, fault tolerance, etc.
-
 * Higher-level notations. Like programming languages, but with thinner
   implementations that you can -- and are expected to! -- modify.
+  - syntax for addressing modes: `%reg`, `*reg`, `*(reg+disp)`,
+    `*(reg+reg+disp)`, `*(reg+reg<<n + disp)`
+  - function calls in a single line, using addressing modes for arguments
+  - syntax for controlling a type checker, akin to the top-level Mu language
+  - a register allocation _verifier_. Programmer provides registers for
+    variables; verifier checks that register reads are for the same type that
+    was last written -- across all control flow paths.
 
 ## Running
 
ass='oid'>e5c14b9b ^
b2cb4662 ^

24a60449 ^





192656e5 ^

22c521d6 ^
24a60449 ^


0a1e8d9c ^
e5c14b9b ^
0a1e8d9c ^
e5c14b9b ^
59c9e23b ^
0a1e8d9c ^
24a60449 ^

76fe37ef ^




192656e5 ^
76fe37ef ^

99fc7c5e ^
76fe37ef ^










bdb8ea3f ^


76fe37ef ^




8f0bc28b ^




c73d1816 ^
8f0bc28b ^


192656e5 ^
8f0bc28b ^










bdb8ea3f ^


8f0bc28b ^




76fe37ef ^





76fe37ef ^









0a1e8d9c ^






7f962895 ^
76fe37ef ^

7f962895 ^


04605a5f ^
7f962895 ^
b2cb4662 ^

7f962895 ^
24a60449 ^




76fe37ef ^


7f962895 ^

76fe37ef ^

24a60449 ^
99fc7c5e ^
8f0bc28b ^
24a60449 ^

99fc7c5e ^
8f0bc28b ^
76fe37ef ^
b2cb4662 ^
99fc7c5e ^
3c5d5e2e ^
b2cb4662 ^

24a60449 ^
8f0bc28b ^

76fe37ef ^


76fe37ef ^
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192