about summary refs log tree commit diff stats
path: root/034address.cc
Commit message (Collapse)AuthorAgeFilesLines
* 3260Kartik K. Agaram2016-08-261-5/+5
| | | | | array length = number of elements array size = in locations
* 3259Kartik K. Agaram2016-08-261-2/+2
| | | | | | | | | | | Prefer preincrement operators wherever possible. Old versions of compilers used to be better at optimizing them. Even if we don't care about performance it's useful to make unary operators look like unary operators wherever possible, and to distinguish the 'statement form' which doesn't care about the value of the expression from the postincrement which usually increments as a side-effect in some larger computation (and so is worth avoiding except for some common idioms, or perhaps even there).
* 3120Kartik K. Agaram2016-07-211-2/+2
| | | | | | | | Always show instruction before any transforms in error messages. This is likely going to make some errors unclear because they *need* to show the original instruction. But if we don't have tests for those situations did they ever really work?
* 3071Kartik K. Agaram2016-06-281-3/+0
|
* 3070Kartik K. Agaram2016-06-281-9/+14
| | | | | Extract out the implementation of 'allocate' so other instructions (ahem, deep-copy) can use it.
* 2990Kartik K. Agaram2016-05-201-4/+4
| | | | | | | | | | 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..
* 2971Kartik K. Agaram2016-05-171-2/+13
| | | | | | Long-overdue reorganization to support general 'dilated' reagents up front. This also allows me to move tests that are really about unrelated layers out of layers dealing with parsing.
* 2931 - be explicit about making copiesKartik K. Agaram2016-05-061-4/+4
|
* 2894Kartik K. Agaram2016-05-031-689/+20
| | | | | Reorganize the 'address' layer and split it up before we start greatly expanding them to manage refcounts in nested objects.
* 2893Kartik K. Agaram2016-05-031-0/+1032