about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* 448Kartik K. Agaram2014-12-262-15/+15
|
* 447 - function invocations can share localsKartik K. Agaram2014-12-261-0/+27
| | | | | This is the first step to creating closures. That requires specifying the lexical scope 'frame' to read a variable from.
* 446Kartik K. Agaram2014-12-252-2/+19
| | | | | | | | Clear up that ancient todo. We don't particularly care about what abstraction we write tests at, as long as we do so at *some* layer and document the intent. That lets us move tests up or down in the future when we know more/have better taste.
* 445Kartik K. Agaram2014-12-251-0/+2
|
* 444 - bring back dispatch based on operand/result typesKartik K. Agaram2014-12-242-6/+115
| | | | | | | | | | | Was dropped in commit 149. But we need it for more convenient overloading, especially now that the right way to build tagged-values is unclear. The original concern was that type/otype would make code harder to 'assemble' down to native. But we should be able to insert CALL instructions to the right clause inside a function's code. So keep it around in the toolbox.
* 443 - simple graphics primitivesKartik K. Agaram2014-12-232-0/+37
| | | | | | | http://docs.racket-lang.org/graphics/Mouse_Operations.html Like with the text mode primitives, we still don't have a story for writing white-box tests for code using these.
* 442 - string 'split'Kartik K. Agaram2014-12-192-0/+158
|
* 441 - string 'find-next' for charactersKartik K. Agaram2014-12-192-0/+104
|
* 440Kartik K. Agaram2014-12-171-2/+6
|
* 439Kartik K. Agaram2014-12-172-9/+9
|
* 438 - unbelievable typoKartik K. Agaram2014-12-172-1/+7
|
* 437Kartik K. Agaram2014-12-171-1/+1
|
* 436 - types* table can now contain integer-array:3, etc.Kartik K. Agaram2014-12-172-121/+124
| | | | | | | | | | | | | Biggest change was to the interface to the 'sizeof' helper. Where it used to accept either a type symbol or a cons operand, it now always accepts an operand, though the value of the operand can be _. In the process the implementation is radically simpler. Also reorg'd unit tests a little, putting those for 'deref' before 'sizeof'. Finally, I'm giving in and enabling the printing of test names as they're run. We still need this all the time in our surgery.
* 435 - starting to allow type definitionsKartik K. Agaram2014-12-172-0/+20
|
* 434Kartik K. Agaram2014-12-172-16/+16
|
* 433Kartik K. Agaram2014-12-172-9/+9
|
* 432Kartik K. Agaram2014-12-171-3/+3
|
* 431 - rename 'record' (struct) to 'and-record'Kartik K. Agaram2014-12-172-25/+25
| | | | Now we can call unions 'or-record'.
* 430 - cache common functions for testsKartik K. Agaram2014-12-152-113/+122
| | | | Tests now take 21s instead of 76s, reclaiming recent losses and more.
* 429Kartik K. Agaram2014-12-141-3/+3
|
* 428 - cleanup odds and endsKartik K. Agaram2014-12-149-121/+146
|
* 427 - ..and we're back. All mu.arc.t tests passing.Kartik K. Agaram2014-12-142-329/+360
|
* 426Kartik K. Agaram2014-12-141-30/+30
|
* 425Kartik K. Agaram2014-12-141-7/+2
|
* 424 - layer 20 passingKartik K. Agaram2014-12-142-689/+708
| | | | Seemingly large diff but most changes are peephole.
* 423Kartik K. Agaram2014-12-141-1/+1
|
* 422Kartik K. Agaram2014-12-141-6/+7
| | | | Further cleanup of convert-names tests.
* 421Kartik K. Agaram2014-12-142-4/+12
|
* 420 - no unnecessary structure in testsKartik K. Agaram2014-12-141-84/+83
| | | | It makes them harder to appreciate.
* 419 - layer 11 now passingKartik K. Agaram2014-12-142-33/+49
|
* 418 - more progress in layer 11Kartik K. Agaram2014-12-141-62/+30
| | | | | | | | | With the notion of layers we add the constraint of only being able to formulate loop tests without 'run' -- otherwise they'd have to leave layer 11 because they have so many more dependencies. Might bring back the run-based tests afresh later. Especially since loop-fail test is now totally gone.
* 417 - partially through layer 11Kartik K. Agaram2014-12-142-198/+204
|
* 416 - renumber layers, but still passing until layer 10Kartik K. Agaram2014-12-132-9/+9
| | | | $ arc load.arc 10 mu.arc.t
* 415Kartik K. Agaram2014-12-132-1/+3
|
* 414Kartik K. Agaram2014-12-131-119/+119
|
* 413Kartik K. Agaram2014-12-131-1/+1
|
* 412 - tests passing at level 10Kartik K. Agaram2014-12-132-12/+17
|
* 411 - 'tokenize-args' must handle blocksKartik K. Agaram2014-12-132-0/+18
|
* 410Kartik K. Agaram2014-12-131-4/+6
|
* 409 - new arg representationKartik K. Agaram2014-12-132-74/+157
| | | | | Tests only passing at level 9: $ arc load.arc 9 mu.arc.t
* 408Kartik K. Agaram2014-12-131-15/+15
| | | | Within a level we can now just rely on simple ordering.
* 407Kartik K. Agaram2014-12-132-1/+4
|
* 406 - mu tests run at level 10Kartik K. Agaram2014-12-132-28/+41
| | | | We're now going to start doing surgery on low-level helpers.
* 405 - permit loading just low levels of codebaseKartik K. Agaram2014-12-136-8/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 404Kartik K. Agaram2014-12-121-1/+1
|
* 403 - 'function' is more clear than 'def'Kartik K. Agaram2014-12-1211-185/+185
|
* 402Kartik K. Agaram2014-12-121-0/+1
|
* 401 - stop abbreviating opsKartik K. Agaram2014-12-128-163/+169
| | | | | We expect users to come across mu from arbitrary bits of code, so try to make each line as self-contained as possible.
* 400 - another fixKartik K. Agaram2014-12-081-15/+16
|
* 399 - fix mu examplesKartik K. Agaram2014-12-082-4/+4
| | | | Thanks Kristis Makris for the bug report.