about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* 1316Kartik K. Agaram2015-05-092-6/+6
| | | | buffer-lines works, at least.
* 1315 - chessboard now working interactivelyKartik K. Agaram2015-05-094-3/+91
| | | | | | | | | | | | | | | | | | | | I tried to bring too much into this commit, and paid the price with some debugging effort. Still havent't tried to enable line buffering, but I'll take a snapshot. Some tests are failing because of the huge hack in the scheduler. For a while I thought there was a bug in termbox because I kept seeing segfaults and valgrind complained about out-of-bounds access. But that was just subsidiary threads trying to print to the screen after I'd returned to console mode. Maybe I should add a test for send-keys-to-channel. Or just use a fake keyboard rather than a channel. And *then* there's the fact that the interaction is molasses slow. Slower than the arc version even though the tests run so much faster. And what's with the long pauses in printing strings to screen?
* 1314Kartik K. Agaram2015-05-091-1/+2
|
* 1313 - merge termboxKartik K. Agaram2015-05-092-4/+4
|
* 1312Kartik K. Agaram2015-05-081-35/+23
|
* 1311Kartik K. Agaram2015-05-081-0/+1
|
* 1310Kartik K. Agaram2015-05-081-11/+11
|
* 1309 - stupid typoKartik K. Agaram2015-05-081-2/+1
|
* 1308Kartik K. Agaram2015-05-085-4/+105
|
* 1307Kartik K. Agaram2015-05-081-6/+6
|
* 1306Kartik K. Agaram2015-05-072-2/+83
|
* 1305Kartik K. Agaram2015-05-072-2/+89
|
* 1304 - two bugs in 'wait-for-routine'Kartik K. Agaram2015-05-071-7/+12
|
* 1303Kartik K. Agaram2015-05-072-2/+2
|
* 1302Kartik K. Agaram2015-05-071-0/+1
|
* 1301 - back to the chessboardKartik K. Agaram2015-05-075-2/+206
| | | | Still need a nice syntax for managing the routine under test.
* 1300Kartik K. Agaram2015-05-071-1/+2
|
* 1299 - stop using [] in any vectorKartik K. Agaram2015-05-0722-112/+112
| | | | | | | | | Useful check: $ grep "[^ '\"]\[[^\"]" *.cc \ |perl -pwe 's/\Wargv\[|\WTests\[|\Wframe\[|\WMemory\[|\WName\[|\WSurrounding_space\[|\WRecipe\[|\WType\[|\WRecipe_number\[|\WType_number\[|\WBefore_fragments\[|\WAfter_fragments\[//g' \ |perl -pwe 's/\Wargv\[|\WTests\[|\Wframe\[|\WMemory\[|\WName\[|\WSurrounding_space\[|\WRecipe\[|\WType\[|\WRecipe_number\[|\WType_number\[|\WBefore_fragments\[|\WAfter_fragments\[//g' \ |grep '[^ ]\['
* 1298 - better ingredient/product handlingKartik K. Agaram2015-05-0735-586/+687
| | | | | | | | | | | | | | | | | | | 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
* 1297Kartik K. Agaram2015-05-071-5/+8
|
* 1296 - roll back 1295Kartik K. Agaram2015-05-075-301/+10
|
* 1295 - broken snapshotKartik K. Agaram2015-05-075-10/+301
| | | | | I spent a couple of hours debugging this because routine-state only sometimes writes to its product. This is unacceptable. Fix this first.
* 1294Kartik K. Agaram2015-05-061-5/+5
|
* 1293 - start porting the chessboard app overKartik K. Agaram2015-05-065-7/+215
| | | | | | | | | Just to put all our new test primitives through their paces, and iron out any kinks. Just the one chessboard scenario is taking 1.5-2.5x all the tests we've written so far. But we're starting from a faster baseline, that was the point of the C++ port. I also have -O3 optimizations in my back-pocket.
* 1292Kartik K. Agaram2015-05-061-1/+1
|
* 1291Kartik K. Agaram2015-05-0648-53/+52
|
* 1290Kartik K. Agaram2015-05-061-5/+4
|
* 1289Kartik K. Agaram2015-05-062-0/+57
|
* 1288Kartik K. Agaram2015-05-061-0/+0
|
* 1287Kartik K. Agaram2015-05-061-1/+2
|
* 1286Kartik K. Agaram2015-05-061-4/+4
|
* 1285Kartik K. Agaram2015-05-061-1/+1
|
* 1284Kartik K. Agaram2015-05-061-0/+11
|
* 1283Kartik K. Agaram2015-05-061-5/+5
|
* 1282Kartik K. Agaram2015-05-061-1/+1
|
* 1281Kartik K. Agaram2015-05-061-0/+2
|
* 1280 - index.html for github pageKartik K. Agaram2015-05-061-0/+71
|
* 1279 - colorized rendering of the source filesKartik K. Agaram2015-05-0647-0/+9125
|
* 1278 - support before/after tangle directivesKartik K. Agaram2015-05-054-31/+254
| | | | | No way to only insert code at a label in a specific recipe. Let's see how that goes.
* 1277Kartik K. Agaram2015-05-051-0/+18
|
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-05568-23345/+1989414
| | | | I've tried to update the Readme, but there are at least a couple of issues.
* 1275Kartik K. Agaram2015-05-051-21/+18
|
* 1274Kartik K. Agaram2015-05-051-7/+7
|
* 1273 - fix display.mu example programKartik K. Agaram2015-05-051-1/+10
|
* 1272Kartik K. Agaram2015-05-053-14/+19
|
* 1271 - producer/consumer example now worksKartik K. Agaram2015-05-051-0/+43
|
* 1270 - we can now pass ingredients to routines as we start themKartik K. Agaram2015-05-054-5/+47
|
* 1269 - 'wait-for-routine'Kartik K. Agaram2015-05-0563-324/+423
|
* 1268Kartik K. Agaram2015-05-052-1/+2
|
* 1267 - 'routine-state' can use the provided routine idKartik K. Agaram2015-05-0563-322/+396
|