Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 147 | Kartik K. Agaram | 2014-10-14 | 1 | -33/+33 |
| | |||||
* | 144 | Kartik K. Agaram | 2014-10-14 | 1 | -0/+7 |
| | |||||
* | 143 | Kartik K. Agaram | 2014-10-12 | 1 | -7/+7 |
| | |||||
* | 142 - helper for lists | Kartik K. Agaram | 2014-10-12 | 1 | -1/+1 |
| | | | | | Amazing how easy it was to just dump the trace and diff, compared to my old approach of adding new traces and rerunning. | ||||
* | 141 - list nodes using tagged-value | Kartik K. Agaram | 2014-10-12 | 1 | -1/+46 |
| | |||||
* | 140 | Kartik K. Agaram | 2014-10-12 | 1 | -3/+16 |
| | |||||
* | 139 | Kartik K. Agaram | 2014-10-12 | 1 | -1/+14 |
| | |||||
* | 138 | Kartik K. Agaram | 2014-10-12 | 1 | -5/+3 |
| | | | | | | | | Current todo stack: trace-based assert new-tagged-value - assert that first arg has size 1 test constructing list manually new-list | ||||
* | 137 | Kartik K. Agaram | 2014-10-12 | 1 | -3/+38 |
| | |||||
* | 135 | Kartik K. Agaram | 2014-10-12 | 1 | -0/+16 |
| | |||||
* | 134 - 'arg' explicitly tells us if an arg was found | Kartik K. Agaram | 2014-10-12 | 1 | -0/+15 |
| | | | | | | Return values can be ignored in mu, in the grand traditions of C programming. Though library writers can impose their conservatism on callers by returning the error condition first. | ||||
* | 133 - handle missing args without error | Kartik K. Agaram | 2014-10-12 | 1 | -1/+15 |
| | |||||
* | 132 | Kartik K. Agaram | 2014-10-11 | 1 | -2/+3 |
| | |||||
* | 131 - maybe-coerce now allocates new space each call | Kartik K. Agaram | 2014-10-11 | 1 | -2/+32 |
| | | | | | | | | | | | | | | | | | | | | | | (Doesn't reclaim yet. Need to build free soon. Then lexical scopes..) This commit showed the benefits of my persisting traces. I realized I needed 'sz' to handle 'deref' args. But I vaguely remembered some earlier instance when some primitive needed to recognize 'deref' at some times but not others. Was it 'sz'? Just added a trace on operands, reran all tests, grepped for deref. $ grep sz .traces -r |grep deref Nothing would fail. Ok, add 'deref' support. Boom, 3 layers of tests passed. Still concerned I'm not using traces enough. Keep vigilant. Mixing print and trace seems like a bad idea. From now on whenever I use any existing commented-out prn's I'm going to turn them into trace calls. That should put pressure on comprehending traces, and tools for doing that, like segmenting by dynamic and static layers. | ||||
* | 130 - build maybe-coerce in mu | Kartik K. Agaram | 2014-10-11 | 1 | -3/+4 |
| | | | | | This is more likely to be right. But the limitations of symbolic locations are starting to be a drag. Time to build lexical scope. | ||||
* | 129 | Kartik K. Agaram | 2014-10-10 | 1 | -1/+5 |
| | |||||
* | 128 | Kartik K. Agaram | 2014-10-10 | 1 | -7/+3 |
| | |||||
* | 127 - tagged values for dynamic typing | Kartik K. Agaram | 2014-10-10 | 1 | -0/+23 |
| | | | | This is almost certainly wrong. | ||||
* | 126 | Kartik K. Agaram | 2014-10-10 | 1 | -59/+59 |
| | |||||
* | 123 - experiment: build the reading flow around the *test* file | Kartik K. Agaram | 2014-10-10 | 1 | -165/+419 |
| | |||||
* | 120 - forgot to alloc space for array length | Kartik K. Agaram | 2014-10-07 | 1 | -2/+2 |
| | |||||
* | 119 - 'continue' was badly broken | Kartik K. Agaram | 2014-10-07 | 1 | -0/+25 |
| | |||||
* | 118 - persist all test traces | Kartik K. Agaram | 2014-10-07 | 1 | -0/+60 |
| | |||||
* | 117 - simplify old tests to use literals | Kartik K. Agaram | 2014-10-07 | 1 | -118/+87 |
| | |||||
* | 116 - retire 'literal' instruction now that we have 'literal' addressing | Kartik K. Agaram | 2014-10-07 | 1 | -150/+150 |
| | |||||
* | 112 | Kartik K. Agaram | 2014-10-06 | 1 | -1/+14 |
| | |||||
* | 111 - no, can't mix array and record access | Kartik K. Agaram | 2014-10-05 | 1 | -6/+22 |
| | | | | records need literal offsets; arrays need variables. | ||||
* | 110 - 107 for 'get-address' | Kartik K. Agaram | 2014-10-05 | 1 | -0/+12 |
| | |||||
* | 109 | Kartik K. Agaram | 2014-10-05 | 1 | -1/+1 |
| | |||||
* | 107 - 'get' can now take an address | Kartik K. Agaram | 2014-10-05 | 1 | -0/+13 |
| | |||||
* | 104 - writing to fields/indices | Kartik K. Agaram | 2014-10-05 | 1 | -0/+25 |
| | |||||
* | 102 - fold 'aref' into 'get' | Kartik K. Agaram | 2014-10-05 | 1 | -6/+24 |
| | | | | Also separate op for length of an array. | ||||
* | 98 - getting sick of loading literals before use | Kartik K. Agaram | 2014-10-05 | 1 | -0/+8 |
| | |||||
* | 92 | Kartik K. Agaram | 2014-08-31 | 1 | -3/+1 |
| | |||||
* | 89 - a simple round-robin scheduler | Kartik K. Agaram | 2014-08-28 | 1 | -0/+24 |
| | |||||
* | 84 | Kartik K. Agaram | 2014-08-28 | 1 | -0/+1 |
| | |||||
* | 82 | Kartik K. Agaram | 2014-08-28 | 1 | -0/+41 |
| | |||||
* | 81 - reify machine state into a 'context' variable | Kartik K. Agaram | 2014-08-28 | 1 | -37/+41 |
| | | | | Beginning of concurrency primitives. | ||||
* | 77 - 'new' in the interpreter | Kartik K. Agaram | 2014-08-26 | 1 | -0/+24 |
| | | | | | | | | Next we'll try to reimplement it on the simulated machine. But for now, sys.arc is extraneous. Debugging this, the commented out prints started to become onerous enough I couldn't bear to keep them. | ||||
* | 65 - separate op for array indexing | Kartik K. Agaram | 2014-08-21 | 1 | -4/+17 |
| | | | | 'get' no longer supports that case; that was confusing. | ||||
* | 63 | Kartik K. Agaram | 2014-08-21 | 1 | -3/+15 |
| | |||||
* | 61 - 'get' for array access | Kartik K. Agaram | 2014-08-21 | 1 | -0/+20 |
| | | | | | get _ 0 => retrieves array length get _ n => retrieves index n-1 | ||||
* | 57 - multi-word or multi-field ops | Kartik K. Agaram | 2014-08-19 | 1 | -0/+12 |
| | |||||
* | 56 - 'get' for record access | Kartik K. Agaram | 2014-08-19 | 1 | -0/+12 |
| | |||||
* | 52 | Kartik K. Agaram | 2014-08-19 | 1 | -6/+9 |
| | |||||
* | 51 | Kartik K. Agaram | 2014-08-19 | 1 | -30/+30 |
| | |||||
* | 46 - there's no continue bug after all in anarki | Kartik K. Agaram | 2014-08-02 | 1 | -1/+1 |
| | |||||
* | 45 - 'deref' metadata working in output args | Kartik K. Agaram | 2014-07-31 | 1 | -0/+12 |
| | | | | | Likely still some erroneous corner cases. What happens if I try to write indirectly to a boolean value? Should raise a reasonable error. | ||||
* | 44 - now 'deref' is a bit of metadata on any operand rather than a special op | Kartik K. Agaram | 2014-07-31 | 1 | -2/+2 |
| | | | | Still only works in read, and only in a single instruction. But these are details. | ||||
* | 43 - tests for 'deref' and 'copy' | Kartik K. Agaram | 2014-07-31 | 1 | -0/+21 |
| |