about summary refs log tree commit diff stats
path: root/edit/010-warnings.mu
Commit message (Collapse)AuthorAgeFilesLines
* 2404 - ah, finally a useful assertionKartik K. Agaram2015-11-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And it caught a bug: I mean to always update type names and types in sync. The last month or so I've been getting reluctantly but inexorably converted to the need and value of a type system. First I thought I just need a minimal but rigorous type system to avoid memory corruption and security issues. Now I think I also want it to be expressive enough to be able to express what data different phases in a compiler read and write, and to be able to designate specific fields as 'fully computed' so that we can statically check that phases wait until their data is available. The phase-ordering problem in a compiler is perhaps the canary in the coal-mine for a more general problem: even small changes can dramatically explode the state space if they violate assumptions previously held about the domain. My understanding of when type pointers are null and not null is immeasurably more nuanced today than it was a week ago, but I didn't need the nuance until I introduced generic functions. That initial draft of a hundred lines bumped me up to a much larger state space. How to make it more obvious when something happens that is akin to discovering a new continent, or finding oneself teleported to Jupiter? Assumptions can be implicit or explicit. Perhaps a delete of an assertion should be estimated at 1000 LoC of complexity?
* 2376Kartik K. Agaram2015-11-051-7/+7
|
* 2309Kartik K. Agaram2015-10-281-23/+23
|
* 2260 - start tracing by depth rather than labelKartik K. Agaram2015-10-061-10/+10
| | | | Now we can collect all traces, just modulating the depth.
* 2227 - offset-checking for containersKartik K. Agaram2015-10-011-7/+23
|
* 2226 - standardize warning formatKartik K. Agaram2015-10-011-5/+5
| | | | | | | | Always show recipe name where error occurred. But don't show internal 'interactive' name for sandboxes, that's just confusing. What started out as warnings are now ossifying into errors that halt all execution. Is this how things went with C and Unix as well?
* 2218 - check types in instructions much earlierKartik K. Agaram2015-09-301-1/+1
| | | | | | | | | Front-loads it a bit more than I'd like, but the payoff is that other recipes will now be able to describe the type checks right next to their operation. I'm also introducing a new use of /raw with literals to indicate unsafe typecasts.
* 2180 - render the trace even if there's warningsKartik K. Agaram2015-09-101-1/+52
|
* 2166Kartik K. Agaram2015-09-051-0/+190
|
* 2160Kartik K. Agaram2015-09-051-0/+199