about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 1360 - store doubles in memoryKartik K. Agaram2015-05-129-24/+31
| | | | | | | | | | | | | This is a far cleaner way to provide *some* floating-point support. We can only represent signed integers up to 2^51 rather than 2^63. But in exchange we don't have to worry about it elsewhere, and it's probably faster than checking tag bits in every operation. Hmm, yeah, surprised how easy this was. I think I'll give up on the other approach. I still don't have non-integer literals. But we won't bother with those until we need them. `3.14159:literal` seems ugly.
* 1359Kartik K. Agaram2015-05-121-1/+3
|
* 1358 - inform shell of test failureKartik K. Agaram2015-05-121-1/+3
|
* 1357 - temporarily revert floating-point supportKartik K. Agaram2015-05-1230-388/+127
|
* 1356 - snapshot #2: floating point supportKartik K. Agaram2015-05-1229-193/+316
| | | | | | | | | | | | | | | I added one test to check that divide can return a float, then hacked at the rippling failures across the entire entire codebase until all tests pass. Now I need to look at the changes I made and see if there's a system to them, identify other places that I missed, and figure out the best way to cover all cases. I also need to show real rather than encoded values in the traces, but I can't use value() inside reagent methods because of the name clash with the member variable. So let's take a snapshot before we attempt any refactoring. This was non-trivial to get right. Even if I convince myself that I've gotten it right, I might back this all out if I can't easily *persuade others* that I've gotten it right.
* 1355Kartik K. Agaram2015-05-121-0/+11
|
* 1354Kartik K. Agaram2015-05-122-6/+6
|
* 1353Kartik K. Agaram2015-05-121-1/+4
|
* 1352Kartik K. Agaram2015-05-121-1/+1
|
* 1351Kartik K. Agaram2015-05-121-3/+2
|
* 1350Kartik K. Agaram2015-05-111-1/+0
|
* 1349 - snapshot: floating-point supportKartik K. Agaram2015-05-111-0/+139
|
* 1348Kartik K. Agaram2015-05-111-1/+1
|
* 1346Kartik K. Agaram2015-05-111-0/+3
| | | | | | On my ubuntu 14.04.1 + gcc 4.8.2 machine, ifstream doesn't actually raise an error on trying to open a non-existent file until you try to do something with it. Garbage!
* 1345Kartik K. Agaram2015-05-119-19/+44
|
* 1344Kartik K. Agaram2015-05-111-0/+10
|
* 1343Kartik K. Agaram2015-05-116-7/+7
|
* 1342Kartik K. Agaram2015-05-111-8/+8
|
* 1341Kartik K. Agaram2015-05-112-8/+19
|
* 1340Kartik K. Agaram2015-05-111-1/+4
|
* 1339Kartik K. Agaram2015-05-102-45/+49
|
* 1338Kartik K. Agaram2015-05-101-2/+2
|
* 1337Kartik K. Agaram2015-05-101-0/+2
|
* 1336Kartik K. Agaram2015-05-101-6/+18
|
* 1335Kartik K. Agaram2015-05-101-28/+2
|
* 1334Kartik K. Agaram2015-05-101-16/+18
|
* 1333Kartik K. Agaram2015-05-101-3/+11
|
* 1331Kartik K. Agaram2015-05-102-3/+5
|
* 1330Kartik K. Agaram2015-05-103-1/+8
|
* 1329Kartik K. Agaram2015-05-102-0/+12
|
* 1328 - another error messageKartik K. Agaram2015-05-101-0/+36
|
* 1327 - better error handling in chessboardKartik K. Agaram2015-05-109-57/+187
| | | | | Also a bugfix in break to label, because I noticed the screen wasn't being cleaned up on quit.
* 1326Kartik K. Agaram2015-05-101-23/+0
|
* 1325Kartik K. Agaram2015-05-103-0/+0
|
* 1324 - warn when mixing named and numeric locationsKartik K. Agaram2015-05-101-38/+95
|
* 1323 - keyboard supports backspace and newlineKartik K. Agaram2015-05-1017-43/+443
| | | | | | 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
* 1322 - ctrl-c should always interruptKartik K. Agaram2015-05-102-0/+2
|
* 1321 - *finally*, fixed the chessboard sluggishnessKartik K. Agaram2015-05-104-3/+47
|
* 1320Kartik K. Agaram2015-05-101-2/+2
|
* 1319Kartik K. Agaram2015-05-101-6/+6
| | | | Allow termbox array sizes to be easily counted with 'wc'.
* 1318 - 1317 actually works nowKartik K. Agaram2015-05-103-7/+45
|
* 1317 - all tests passingKartik K. Agaram2015-05-091-6/+34
| | | | Hacky new way to turn off child threads.
* 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
|