about summary refs log tree commit diff stats
path: root/stdin.mu
Commit message (Collapse)AuthorAgeFilesLines
* 578 - switch to non-polymorphic 'print' functionsKartik K. Agaram2015-01-171-4/+4
| | | | | Also clean up various prints from last few commits. As a convention, for debugging we always print directly to host.
* 574 - printing string literals is a hack; hard-code it in for nowKartik K. Agaram2015-01-161-6/+6
|
* 571 - screen primitives take an explicit terminalKartik K. Agaram2015-01-151-10/+10
| | | | | | | | | | | | | | | | | This will let me swap in a fake in tests. Still hacky, though. I'm sure I'm not managing the parameter right in the chessboard app. And then there's the question of whether it should also appear as an output operand. But it's a start. And using nil to mean 'real' is a reasonable convention. If I ever need to handle multiple screens perhaps we'll have to switch to 1:literal/terminal and 2:literal/terminal, etc. But those are equally easy to guard on.
* 544 - text modes now called 'retro' & 'cursor'Kartik K. Agaram2015-01-121-1/+1
| | | | | | | | | | | | | Other options considered for 'retro': 'teletype': perhaps most accurate, but arcane 'chat': captures that you have to hit 'enter', but not the rendering 'wrap': captures the auto-wrap when printing text but not that you have to hit 'enter' when typing 'text': useful as a synonym of 'chat' while conveying more information in other meanings, but too generic, nobody will get it Why do the input and output options have to be entangled like this?
* 543Kartik K. Agaram2015-01-121-1/+1
|
* 536 - introduce a notion of helper routinesKartik K. Agaram2015-01-111-1/+1
| | | | When all you have left to run are helper routines, end the simulation.
* 535 - reading keyboard input from a channelKartik K. Agaram2015-01-111-0/+26
The problem is that once main exits it takes two characters at minimum to truly quit: one to fill the buffer and another to overflow it and trigger the deadlock detector. Not the cleanest way to exit in the world either, death by deadlock.