From 6dd309a2e134a73df8b05e26da193e9f121758c6 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 3 Nov 2019 00:43:37 -0700 Subject: 5726 --- html/apps/mu.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/apps/mu.subx.html') diff --git a/html/apps/mu.subx.html b/html/apps/mu.subx.html index 9ba938aa..a1500a8a 100644 --- a/html/apps/mu.subx.html +++ b/html/apps/mu.subx.html @@ -58,7 +58,7 @@ if ('onhashchange' in window) { https://github.com/akkartik/mu/blob/master/apps/mu.subx
-  1 # Mu's level-2 language, also called Mu.
+  1 # The Mu computer's level-2 language, also called Mu.
   2 # http://akkartik.name/post/mu-2019-2
   3 #
   4 # To run:
@@ -140,7 +140,7 @@ if ('onhashchange' in window) {
  80       # if (argc <= 1) break
  81       81 7/subop/compare *ebp 1/imm32
  82       7e/jump-if-lesser-or-equal break/disp8
- 83       # if (argv[1] != "test")) break
+ 83       # if (argv[1] != "test") break
  84       (kernel-string-equal? *(ebp+8) "test")  # => eax
  85       3d/compare-eax-and 0/imm32
  86       74/jump-if-equal break/disp8
@@ -351,7 +351,7 @@ if ('onhashchange' in window) {
 306       { # word loop
 307 $parse-mu:word-loop:
 308         (next-word-or-string %ecx %edx)
-309         # if (slice-empty?(word-slice)) break
+309         # if slice-empty?(word-slice) break
 310         (slice-empty? %edx)
 311         3d/compare-eax-and 0/imm32
 312         0f 85/jump-if-not-equal break/disp32
@@ -363,7 +363,7 @@ if ('onhashchange' in window) {
 318         # . if (eax == '#') break
 319         3d/compare-eax-and 0x23/imm32/hash
 320         0f 84/jump-if-equal break/disp32
-321         # if slice-equal?(word-slice, "fn")
+321         # if (slice-equal?(word-slice, "fn")) parse a function
 322         {
 323           (slice-equal? %edx "fn")
 324           3d/compare-eax-and 0/imm32
@@ -516,7 +516,7 @@ if ('onhashchange' in window) {
 471       0f 84/jump-if-equal break/disp32
 472       # word-slice = next-word(line)
 473       (next-word %ecx %edx)
-474       # if slice-empty?(word-slice)) continue
+474       # if slice-empty?(word-slice) continue
 475       (slice-empty? %ecx)
 476       3d/compare-eax-and 0/imm32
 477       75/jump-if-not-equal loop/disp8
@@ -552,7 +552,7 @@ if ('onhashchange' in window) {
 507 $curly-found:end:
 508       # second-word-slice = next-word(line)
 509       (next-word %ecx %edx)
-510       # if slice-empty?(second-word-slice)) continue
+510       # if slice-empty?(second-word-slice) continue
 511       (slice-empty? %ecx)
 512       3d/compare-eax-and 0/imm32
 513       0f 85/jump-if-not-equal loop/disp32
-- 
cgit 1.4.1-2-gfad0

749c0848dc'>^
ffa01a1a ^
30b5f112 ^








45a26b11 ^





30b5f112 ^
71679a31 ^

45a26b11 ^


45a26b11 ^
30b5f112 ^
2f82f50a ^
86c1c388 ^
1a3dc91e ^
30b5f112 ^


fbc30231 ^

















cd2458c0 ^

0ae975c2 ^

b21edfaa ^
1900402f ^
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