about summary refs log tree commit diff stats
path: root/026assert.cc
Commit message (Collapse)AuthorAgeFilesLines
* 1483 - *really* check color screens in scenariosKartik K. Agaram2015-05-271-1/+1
| | | | | | | | | | | | | | | | | Required fixing two levels of bugs: a) The hack in tangle to drop initial comments a '%' directive.. b) ..was masking a bug where run_mu_scenario wasn't robust to initial comments. Mildly concerned that neither of the sub-issues have their own tests, but I'm just removing hacks, and writing tests for that throwaway function like run_mu_scenario seems pointless. Instead I've solved the problem by disallowing comments before '%' directives. I've also taken this opportunity to at least try to document the 'scenarios' and '%' directives at the first layer where they appear.
* 1391 - avoid unsigned integersKartik K. Agaram2015-05-171-2/+2
|
* 1330Kartik K. Agaram2015-05-101-1/+0
|
* 1327 - better error handling in chessboardKartik K. Agaram2015-05-101-2/+1
| | | | | Also a bugfix in break to label, because I noticed the screen wasn't being cleaned up on quit.
* 1323 - keyboard supports backspace and newlineKartik K. Agaram2015-05-101-1/+3
| | | | | | Lots mixed into this commit: some off-by-one errors in display.cc a new transform to translate jump labels that I'd somehow never gotten around to supporting
* 1303Kartik K. Agaram2015-05-071-1/+1
|
* 1298 - better ingredient/product handlingKartik K. Agaram2015-05-071-5/+6
| | | | | | | | | | | | | | | | | | | All primitives now always write to all their products. If a product is not used that's fine, but if an instruction seems to expect too many products mu will complain. In the process, many primitives can operate on more than two ingredients where it seems intuitive. You can add or divide more than two numbers together, copy or negate multiple corresponding locations, etc. There's one remaining bit of ugliness. Some instructions like get/get-address, index/index-address, wait-for-location, these can unnecessarily load values from memory when they don't need to. Useful vim commands: %s/ingredients\[\([^\]]*\)\]/ingredients.at(\1)/gc %s/products\[\([^\]]*\)\]/products.at(\1)/gc .,$s/\[\(.\)]/.at(\1)/gc
* 1296 - roll back 1295Kartik K. Agaram2015-05-071-1/+0
|
* 1295 - broken snapshotKartik K. Agaram2015-05-071-0/+1
| | | | | I spent a couple of hours debugging this because routine-state only sometimes writes to its product. This is unacceptable. Fix this first.
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-051-0/+20
I've tried to update the Readme, but there are at least a couple of issues.