about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 1534 - print results in a different colorKartik K. Agaram2015-06-062-3/+15
|
* 1533 - repl: long-standing bug with backspaceKartik K. Agaram2015-06-061-1/+18
|
* 1531 - enable termbox's mouse supportKartik K. Agaram2015-06-052-0/+12
|
* 1530 - switch to termbox's 256-color modeKartik K. Agaram2015-06-055-55/+24
|
* 1528 - assignment operator now colored redKartik K. Agaram2015-06-041-3/+51
| | | | | I'd hoped finding that off-by-one error would fix the other intermittent issues I've been seeing (commit 1512), but no they're still there.
* 1527Kartik K. Agaram2015-06-041-1/+120
|
* 1526Kartik K. Agaram2015-06-041-3/+3
|
* 1525Kartik K. Agaram2015-06-041-1/+1
|
* 1524Kartik K. Agaram2015-06-041-1/+0
|
* 1523Kartik K. Agaram2015-06-034-22/+17
| | | | Variable 'instruction_counter' was obfuscating more than it clarified.
* 1522Kartik K. Agaram2015-06-031-4/+12
| | | | | | | | Extracting a function for the prompt before starting to test it. Still not clear how I should proceed. Need to express screen dependency to 'run-interactive' somehow. Supporting generics might finally be on the critical path.
* 1521Kartik K. Agaram2015-06-031-13/+0
|
* 1520 - repl kinda workingKartik K. Agaram2015-06-023-6/+33
| | | | | But we really should test the top-level integration with 'run-interactive'.
* 1519 - repl now running commandsKartik K. Agaram2015-06-012-2/+11
| | | | Was missing a newline. More brittleness.
* 1518 - still horribly brokenKartik K. Agaram2015-06-018-2/+115
| | | | | | Just figured out why a first keystroke of backspace was sending me out for a spin: run_interactive needs all early exits that don't actually run anything to increment the current_step_index(). FML, this is lousy..
* 1517Kartik K. Agaram2015-05-3066-360/+1330
|
* 1516Kartik K. Agaram2015-05-301-2/+2
|
* 1515 - complain on unbalanced bracketsKartik K. Agaram2015-05-301-0/+4
|
* 1514 - cleaner way to show backspaces in fake keyboardKartik K. Agaram2015-05-304-60/+76
| | | | In the process we now support unicode in all mu strings!
* 1513 - final repl test was never failingKartik K. Agaram2015-05-301-4/+4
| | | | | | | | I'm still having trouble with prematurely closed strings or strings never being closed. Remember that when escaping brackets inside scenarios you usually need two levels of escaping. The single-level is a no-op and usually misleading. When brackets balance, don't bother escaping. When they don't, escape twice.
* 1512Kartik K. Agaram2015-05-291-1/+0
| | | | | | | | | | As expected, I've already found two bugs in the repl during manual testing. Still don't have a good characterization of when things go off the rails. But certainly hitting backspace too many times isn't messing things up as I'd feared. Which might also be a bug, if the program isn't behaving as I expect.
* 1511 - repl finally passing all its tests againKartik K. Agaram2015-05-281-2/+9
| | | | | | | But I'm sure the next bug is nearby. And even if there's a solution around here, the logic is now quite convoluted, with strings sometimes returning on completion and sometimes recursing further in. We'll need to rethink this.
* 1510Kartik K. Agaram2015-05-282-1/+20
| | | | | slurp-string should sometimes return and sometimes recurse. Graah. But the trace browser is awesome.
* 1509Kartik K. Agaram2015-05-282-2/+18
| | | | | Ah, the failing test isn't what I thought. This is a regression. Let's debug this using the trace-browser! Little tweak as I use it.
* 1508Kartik K. Agaram2015-05-282-6/+32
| | | | Aaalmost there..
* 1507Kartik K. Agaram2015-05-281-5/+24
| | | | | | More groundwork for dealing with backspacing back into string: instead of simply exiting the current stack frame when the string completes, create a *new* stack frame. More tests failing, but we're getting closer.
* 1506Kartik K. Agaram2015-05-281-1/+1
|
* 1505Kartik K. Agaram2015-05-281-3/+3
| | | | Fix messages on failed screen tests.
* 1504Kartik K. Agaram2015-05-281-11/+55
| | | | | repl still needs to handle backspacing *back into* strings. This tries to lay the groundwork.
* 1503Kartik K. Agaram2015-05-281-0/+2
|
* 1502Kartik K. Agaram2015-05-281-5/+5
|
* 1501Kartik K. Agaram2015-05-283-19/+33
|
* 1500Kartik K. Agaram2015-05-281-0/+5
|
* 1499 - now repl supports backspacing over stringsKartik K. Agaram2015-05-281-0/+54
|
* 1498Kartik K. Agaram2015-05-281-8/+20
| | | | Cleaner to delegate as much as possible to slurp_quoted.
* 1497 - 2 boneheaded bugs in parsing scenariosKartik K. Agaram2015-05-283-7/+53
|
* 1495Kartik K. Agaram2015-05-271-0/+30
|
* 1494Kartik K. Agaram2015-05-272-6/+189
|
* 1493 - less hard-coded version anticipating stringsKartik K. Agaram2015-05-271-24/+48
|
* 1492Kartik K. Agaram2015-05-271-1/+24
|
* 1491Kartik K. Agaram2015-05-272-0/+5
|
* 1490 - repl: can backspace over commentsKartik K. Agaram2015-05-271-2/+80
|
* 1489 - repl: initial support for colorKartik K. Agaram2015-05-271-1/+27
|
* 1488Kartik K. Agaram2015-05-271-3/+4
|
* 1487 - repl working interactivelyKartik K. Agaram2015-05-272-5/+6
|
* 1486 - repl: hitting enter now workingKartik K. Agaram2015-05-275-3/+25
|
* 1485 - start of a repl toolKartik K. Agaram2015-05-273-2/+102
| | | | | | | | | | | Doesn't actually work interactively yet; for some reason it prints in color, enter doesn't work, etc. It'll be interesting to try to add color and history as separate 'layers' using before/after. I'll also likely have to delete traces for its tests at some point as they inevitably explode in size.
* 1484 - tweak utopiaKartik K. Agaram2015-05-271-13/+15
| | | | From http://www.musklevel.com/s/xregsj/teaching_people_to_read_other_people%27s_computer_programs
* 1483 - *really* check color screens in scenariosKartik K. Agaram2015-05-277-28/+60
| | | | | | | | | | | | | | | | | 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.
* 1482Kartik K. Agaram2015-05-261-3/+2
|