about summary refs log tree commit diff stats
path: root/edit/011-errors.mu
Commit message (Collapse)AuthorAgeFilesLines
* 3445Kartik K. Agaram2016-10-061-35/+35
| | | | | | | Ugly that we didn't need 'screen' to provide a type in scenarios (because assume-screen expands to a definition of 'screen') but we did need a type for 'console'. Just never require types for special names in scenarios.
* 3429 - standardize Mu scenariosKartik K. Agaram2016-09-281-67/+63
| | | | | | | | | | | | | A long-standing problem has been that I couldn't spread code across 'run' blocks because they were separate scopes, so I've ended up making them effectively comments. Running code inside a 'run' block is identical in every way to simply running the code directly. The 'run' block is merely a visual aid to separate setup from the component under test. In the process I've also standardized all Mu scenarios to always run in a local scope, and only use (raw) numeric addresses for values they want to check later.
* 3396Kartik K. Agaram2016-09-171-41/+41
|
* 3391 - type abbreviations everywhereKartik K. Agaram2016-09-171-93/+93
| | | | | | | | | Well, almost. I can't use them in some places in C++ where I'm just creating a temporary reagent without passing it through transforms. Like in some unit tests. I can't use them in memory-should-contain. And there's one remaining bug: I can't use abbreviations in a couple of places in 075channel.mu.
* 3338Kartik K. Agaram2016-09-121-2/+2
| | | | Process type abbreviations in container definitions.
* 3337 - first use of type abbreviations: textKartik K. Agaram2016-09-121-54/+54
| | | | | In the process I've uncover a couple of situations we don't support type abbreviations yet. They're next.
* 3233 - change how Mu escapes stringsKartik K. Agaram2016-08-201-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks Sam Putman for helping think through this idea. When you encounter a backslash, strip it out and pass through any following run of backslashes. If we 'escaped' a single following character like C, then the character '\' would be the same as: '\\' escaped once '\\\\' escaped twice '\\\\\\\\' escaped thrice (8 backslashes) ..and so on, the number of backslashes doubling each time. Instead, our approach is to make the character '\' the same as: '\\' escaped once '\\\' escaped twice '\\\\' escaped thrice ..and so on, the number of backslashes merely increasing by one each time. This approach only works as long as backslashes aren't also overloaded to create special characters. So Mu doesn't follow C's approach of overloading backslashes both to escape quote characters and also as a notation for unprintable characters like '\n'.
* 3168 - skip loading recipe 'main' in edit/Kartik K. Agaram2016-08-121-1/+1
| | | | | | | This is part of efforts to allow students to transition gradually from the sandbox to running programs directly on the commandline, writing real scenarios, etc. Running on the commandline requires 'main', but overriding 'main' would mess up edit/ which is itself a Mu program.
* 3111Stephen Malina2016-07-141-3/+4
| | | | | Show number of instructions in the editor when a user clicks on a run instruction in the sandbox.
* 3067Kartik K. Agaram2016-06-251-2/+2
|
* 2990Kartik K. Agaram2016-05-201-17/+17
| | | | | | | | | | Standardize quotes around reagents in error messages. I'm still sure there's issues. For example, the messages when type-checking 'copy'. I'm not putting quotes around them because in layer 60 I end up creating dilated reagents, and then it's a bit much to have quotes and (two kinds of) brackets. But I'm sure I'm doing that somewhere..
* 2979Kartik K. Agaram2016-05-191-0/+691
d4df31682aa5bbe992227fda1'>c2a74205 ^
71eb22a5 ^
33352536 ^

2a2a5b1e ^
33352536 ^
c2a74205 ^
33352536 ^
c2a74205 ^
33352536 ^
c2a74205 ^


33352536 ^
c2a74205 ^
33352536 ^
c2a74205 ^
33352536 ^




7a583220 ^
33352536 ^

c2a74205 ^









33352536 ^
c2a74205 ^
33352536 ^

c2a74205 ^










33352536 ^
686a52bd ^
c2a74205 ^
686a52bd ^
c2a74205 ^


33352536 ^
c2a74205 ^





33352536 ^
c2a74205 ^






33352536 ^
c2a74205 ^
33352536 ^
c2a74205 ^





33352536 ^
c2a74205 ^







33352536 ^
c2a74205 ^



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