Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 405 - permit loading just low levels of codebase | Kartik K. Agaram | 2014-12-13 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When I'm doing extensive surgery to the internals I want to avoid loading higher levels; they aren't expected to work. But I don't want to keep different levels in separate files just for that. And I definitely don't want to put low-level stuff first. Now I can influence loading in a cross-cutting manner by creating sections with numbers: (section 100 ...code...) And disabling them by running: $ ./anarki/arc 99 mu.arc.t Currently we load all mu 'system software' in level 100, so running at level 99 sidesteps them. Lower levels coming soon. But most of the time we don't need to worry about levels, and the 'mu' script lets us forget about them. Just run .mu files with: $ ./mu factorial.mu To run tests: $ ./mu test mu.arc.t | ||||
* | 404 | Kartik K. Agaram | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | 403 - 'function' is more clear than 'def' | Kartik K. Agaram | 2014-12-12 | 1 | -3/+3 |
| | |||||
* | 401 - stop abbreviating ops | Kartik K. Agaram | 2014-12-12 | 1 | -59/+65 |
| | | | | | We expect users to come across mu from arbitrary bits of code, so try to make each line as self-contained as possible. | ||||
* | 398 - new space for forked routines | Kartik K. Agaram | 2014-12-04 | 1 | -1/+6 |
| | | | | | Hack: currently restricted to 1000 locations per routine, no way to grow past that. That suffices to pass our failing test. | ||||
* | 397 - routines encapsulate allocator state | Kartik K. Agaram | 2014-12-04 | 1 | -15/+19 |
| | | | | Still incomplete; one test temporarily disabled. | ||||
* | 393 - 'defer' should now support all kinds of exits | Kartik K. Agaram | 2014-12-03 | 1 | -1/+4 |
| | |||||
* | 392 | Kartik K. Agaram | 2014-12-03 | 1 | -7/+11 |
| | |||||
* | 391 - start fleshing out 'defer' | Kartik K. Agaram | 2014-12-03 | 1 | -0/+4 |
| | |||||
* | 389 | Kartik K. Agaram | 2014-11-29 | 1 | -2/+1 |
| | |||||
* | 384 | Kartik K. Agaram | 2014-11-29 | 1 | -22/+22 |
| | |||||
* | 383 | Kartik K. Agaram | 2014-11-29 | 1 | -2/+1 |
| | |||||
* | 382 - varargs 'interpolate' | Kartik K. Agaram | 2014-11-29 | 1 | -8/+44 |
| | | | | Brilliant, now I didn't need any low-level changes. | ||||
* | 381 | Kartik K. Agaram | 2014-11-29 | 1 | -11/+2 |
| | |||||
* | 379 | Kartik K. Agaram | 2014-11-29 | 1 | -9/+15 |
| | |||||
* | 377 | Kartik K. Agaram | 2014-11-28 | 1 | -45/+37 |
| | |||||
* | 376 - similarly simplify record helpers | Kartik K. Agaram | 2014-11-28 | 1 | -8/+7 |
| | |||||
* | 374 - simplify array helpers | Kartik K. Agaram | 2014-11-28 | 1 | -20/+17 |
| | |||||
* | 373 | Kartik K. Agaram | 2014-11-28 | 1 | -6/+5 |
| | |||||
* | 372 - size check for arrays | Kartik K. Agaram | 2014-11-28 | 1 | -2/+5 |
| | |||||
* | 371 - bugfix: don't read destination when writing array | Kartik K. Agaram | 2014-11-28 | 1 | -3/+10 |
| | | | | | Finally we've gotten to one of the top-level bugs uncovered by 'interpolate'. | ||||
* | 370 - unit tests for 'setm' | Kartik K. Agaram | 2014-11-28 | 1 | -4/+7 |
| | |||||
* | 369 | Kartik K. Agaram | 2014-11-28 | 1 | -4/+4 |
| | |||||
* | 368 - replace 'sz' with our new 'sizeof' | Kartik K. Agaram | 2014-11-28 | 1 | -21/+6 |
| | |||||
* | 366 - reorg run's helpers | Kartik K. Agaram | 2014-11-28 | 1 | -142/+155 |
| | | | | | First step to using our new 'deref' and 'absolutize' helpers more coherently. | ||||
* | 365 - new primitives let us generalize 'addr' | Kartik K. Agaram | 2014-11-28 | 1 | -4/+5 |
| | |||||
* | 364 | Kartik K. Agaram | 2014-11-28 | 1 | -16/+2 |
| | |||||
* | 363 | Kartik K. Agaram | 2014-11-28 | 1 | -1/+14 |
| | |||||
* | 362 | Kartik K. Agaram | 2014-11-28 | 1 | -0/+1 |
| | | | | Gaining confidence.. | ||||
* | 361 - *now* 'sizeof' on array pointers | Kartik K. Agaram | 2014-11-28 | 1 | -0/+4 |
| | |||||
* | 360 - back up, let's create a new 'deref' helper | Kartik K. Agaram | 2014-11-28 | 1 | -0/+13 |
| | |||||
* | 359 - 'sizeof' supports 'deref' pointers | Kartik K. Agaram | 2014-11-28 | 1 | -1/+6 |
| | | | | Just non-arrays for now. | ||||
* | 358 - start of 'sizeof' support for arrays | Kartik K. Agaram | 2014-11-28 | 1 | -0/+4 |
| | |||||
* | 356 - high time 'sizeof' supported operands | Kartik K. Agaram | 2014-11-28 | 1 | -12/+14 |
| | |||||
* | 354 - stepping back, test-driving 'addr' helper again | Kartik K. Agaram | 2014-11-28 | 1 | -1/+2 |
| | |||||
* | 352 - 'interpolate' as a poor man's printf | Kartik K. Agaram | 2014-11-27 | 1 | -0/+73 |
| | |||||
* | 351 - break/loop from nested blocks | Kartik K. Agaram | 2014-11-27 | 1 | -10/+14 |
| | |||||
* | 350 | Kartik K. Agaram | 2014-11-27 | 1 | -9/+9 |
| | |||||
* | 349 - jump to label | Kartik K. Agaram | 2014-11-27 | 1 | -3/+28 |
| | |||||
* | 348 | Kartik K. Agaram | 2014-11-27 | 1 | -2/+2 |
| | |||||
* | 347 - allow 'arg' channel to be rewound | Kartik K. Agaram | 2014-11-27 | 1 | -9/+9 |
| | |||||
* | 345 | Kartik K. Agaram | 2014-11-27 | 1 | -20/+2 |
| | |||||
* | 344 - about to give up on rewrite rules | Kartik K. Agaram | 2014-11-27 | 1 | -5/+10 |
| | | | | | | | | | | | | | | | | | I wanted to come up with some way to rewrite 'def-clause foo' to 'after foo/more-clauses', something like: rewrite def-clause [ (fn-name string-address) <- arg (label-name string-address) <- strcat (fn-name string-address deref) ("/more-clauses" literal) (body expr) <- arg reply `(after ,label-name ,body) ] But the quasiquote is still a nested expression that doesn't fit our model well. Still an open question how to do template interpolation in mu. | ||||
* | 343 - experiment: rewrite rules | Kartik K. Agaram | 2014-11-27 | 1 | -2/+17 |
| | | | | We'll worry later about implementing them in mu. | ||||
* | 342 - strcat | Kartik K. Agaram | 2014-11-27 | 1 | -1/+50 |
| | |||||
* | 341 - standardize traces again | Kartik K. Agaram | 2014-11-27 | 1 | -0/+1 |
| | |||||
* | 340 | Kartik K. Agaram | 2014-11-26 | 1 | -0/+1 |
| | |||||
* | 339 - string literals for convenience | Kartik K. Agaram | 2014-11-26 | 1 | -7/+19 |
| | | | | | | I'm cheating a little when it comes to strings, making use of Racket primitives. But in principle it seems like a local transform to implement even in machine code. | ||||
* | 338 - starting to work on string primitives | Kartik K. Agaram | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | 337 - rename 'continue' instructions to 'loop' | Kartik K. Agaram | 2014-11-26 | 1 | -10/+10 |
| |