Commit Graph

8883 Commits

Author SHA1 Message Date
Kartik K. Agaram 13315b2a57 182 2014-10-30 17:34:34 -07:00
Kartik K. Agaram 3eb3507382 181 - fix inconsistent metadata
We have cases where 'type' is stored in memory, so it can't be a
literal type like 'offset'.
2014-10-30 17:29:14 -07:00
Kartik K. Agaram 0257f8daa8 180 2014-10-30 17:22:06 -07:00
Kartik K. Agaram 2c3248b376 179 2014-10-30 00:41:09 -07:00
Kartik K. Agaram f57129dcca 178 2014-10-30 00:39:59 -07:00
Kartik K. Agaram 97208a383a 177 - more robust 'die' 2014-10-30 00:37:03 -07:00
Kartik K. Agaram 12807afa4f 176 2014-10-29 22:39:53 -07:00
Kartik K. Agaram b81abc2476 175 - have 'new' write array size automatically 2014-10-29 22:39:21 -07:00
Kartik K. Agaram dea74d7156 174 - experiment: communicating errors between routines
Who does cleanup? That comes later, with custodians.
2014-10-29 22:19:03 -07:00
Kartik K. Agaram 389ed7684a 173 2014-10-29 20:01:34 -07:00
Kartik K. Agaram 0f1fc1c0f0 172 - save completed routines for better white-box testing 2014-10-29 13:10:40 -07:00
Kartik K. Agaram 8373558698 171 - rename 'context' to 'routine'
Given goroutines, the new name conveys a more accurate connotation of
concurrency considerations.
2014-10-29 13:06:32 -07:00
Kartik K. Agaram c34f5e26c8 170 - stack frame support
When the current context has a 'default-scope', directly-addressed
memory offsets off of it.
2014-10-29 10:33:43 -07:00
Kartik K. Agaram 4ed7fd4b94 169 2014-10-29 10:29:30 -07:00
Kartik K. Agaram 6857d6c824 168 2014-10-29 10:27:28 -07:00
Kartik K. Agaram e54ab3f6e3 167
Make context a global.
2014-10-29 10:26:25 -07:00
Kartik K. Agaram b7c86461fe 166 2014-10-29 09:02:34 -07:00
Kartik K. Agaram dc8c5cea4c 165 2014-10-29 09:01:16 -07:00
Kartik K. Agaram 52dc9fa484 164 - start of a simple tangling system 2014-10-29 08:55:07 -07:00
Kartik K. Agaram 48cd1ae766 163 - start of a simple assembler 2014-10-29 00:30:46 -07:00
Kartik K. Agaram dae4f6d15c 162 2014-10-29 00:06:14 -07:00
Kartik K. Agaram a7b73b8cd7 161 2014-10-29 00:05:16 -07:00
Kartik K. Agaram 61c82b8e8f 160 - fix stale editor test 2014-10-28 11:41:59 -07:00
Kartik K. Agaram 67109edfd9 159 - putting types table in test file was a bad idea
We could no longer just create .mu files and run them on the command line.
2014-10-28 11:32:00 -07:00
Kartik K. Agaram ff61a21cad 158 - stop supporting non-numeric addresses
That was relying on the underlying host lisp.
Next we'll build a simple assembler to get back descriptive variable names.
2014-10-28 11:00:18 -07:00
Kartik K. Agaram 48e121d5e8 157 - 'new-list' handles integers 2014-10-25 02:32:30 -07:00
Kartik K. Agaram b046ed735b 156 - new primitive for lifting into tagged-types: 'save-type' 2014-10-24 11:38:02 -07:00
Kartik K. Agaram 4a0751d80b 155 2014-10-24 11:36:38 -07:00
Kartik K. Agaram d245bbb6b2 154 - current stretch goal is to parse the horizon file 2014-10-24 10:39:26 -07:00
Kartik K. Agaram fb80da8306 153 2014-10-24 10:38:38 -07:00
Kartik K. Agaram 88ffbcf617 152 2014-10-18 16:58:51 -07:00
Kartik K. Agaram bb362d9c67 151 2014-10-18 16:50:54 -07:00
Kartik K. Agaram cffd6659e8 150 2014-10-16 10:42:29 -07:00
Kartik K. Agaram 37036e0f7c 149 - get rid of 'type' and 'otype' in favor of tagged types for dispatch 2014-10-14 23:11:44 -07:00
Kartik K. Agaram 554ac51249 148 - better idiom for generic functions 2014-10-14 18:24:46 -07:00
Kartik K. Agaram b9a05206d6 147 2014-10-14 17:51:30 -07:00
Kartik K. Agaram e604185884 146 2014-10-14 17:27:10 -07:00
Kartik K. Agaram 2c0a6696a9 145 - delete random programs
They need a type table to work, but I'm keeping type tables next to
the tests.

Everything needs to be a test from now on.

(But first some fixes to the terminal primitives.)
2014-10-14 17:26:28 -07:00
Kartik K. Agaram 93ddcc744b 144 2014-10-14 10:02:18 -07:00
Kartik K. Agaram 1bfb7c1090 143 2014-10-12 14:32:47 -07:00
Kartik K. Agaram 0c9f837918 142 - helper for lists
Amazing how easy it was to just dump the trace and diff, compared to my old approach
of adding new traces and rerunning.
2014-10-12 14:27:26 -07:00
Kartik K. Agaram a28ca9a7ad 141 - list nodes using tagged-value 2014-10-12 14:12:34 -07:00
Kartik K. Agaram b21fa58534 140 2014-10-12 12:01:04 -07:00
Kartik K. Agaram bb63c4191f 139 2014-10-12 11:29:02 -07:00
Kartik K. Agaram 1bd5f2f5f1 138
Current todo stack:
  trace-based assert
  new-tagged-value - assert that first arg has size 1
  test constructing list manually
  new-list
2014-10-12 11:12:36 -07:00
Kartik K. Agaram 244f31f7ee 137 2014-10-12 10:49:33 -07:00
Kartik K. Agaram aa7de0e8af 136 - log memory in consistent order
This is super slow. Maybe I should keep it commented out until we need
it? Open to doing that in future.
2014-10-12 10:32:03 -07:00
Kartik K. Agaram 6d24d47bd7 135 2014-10-12 10:27:23 -07:00
Kartik K. Agaram 89ee18a13e 134 - 'arg' explicitly tells us if an arg was found
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.
2014-10-12 10:23:02 -07:00
Kartik K. Agaram 3245570bc7 133 - handle missing args without error 2014-10-12 10:17:46 -07:00