about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--shell/infix.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/infix.mu b/shell/infix.mu
index 7df3d01b..41e8fa5d 100644
--- a/shell/infix.mu
+++ b/shell/infix.mu
@@ -406,6 +406,9 @@ fn test-infix {
 
 # helpers
 
+# return true if x is composed entirely of operator graphemes, optionally prefixed with some '$'s
+# some operator, some non-operator => pre-tokenized symbol; return false
+# all '$'s => return false
 fn operator-symbol? _x: (addr cell) -> _/eax: boolean {
   var x/esi: (addr cell) <- copy _x
   {
03f172bdc5afdb8bb8bf34eccf0fa'>^
cba63cf3 ^


a66c4a26 ^
fe7f8ca0 ^
cba63cf3 ^
471fc680 ^
cba63cf3 ^
a2853ab6 ^
cba63cf3 ^
ce9e6572 ^
8fa87054 ^


a66c4a26 ^

f027adc0 ^
08f08fb9 ^
d8084b41 ^
08f08fb9 ^
d8084b41 ^

08f08fb9 ^





cba63cf3 ^
3de15ddd ^

d8084b41 ^
24e68318 ^
d8084b41 ^

d36c43ff ^
d8084b41 ^

cba63cf3 ^
b4250dbc ^

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