about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 3744Kartik K. Agaram2017-02-075-9/+4
| | | | | | Undo 3743. Really any time we create new instructions from whole cloth during rewriting or transform, the whole notion of 'original name' goes out the window. Pointless trying to fight that fact of life.
* 3743Kartik K. Agaram2017-02-075-4/+9
| | | | | | | | One way to ensure we always set old_name is to create a method to initialize names as opposed to just assigning them. Still not ideal because we still assign directly most of the time, so it's easy to forget.
* 3742 - move instruction.old_name to a later layerKartik K. Agaram2017-02-064-18/+27
| | | | | | The drawback of this is that we forget to initialize old_name when we create instructions out of whole cloth in a few places. But this problem already existed..
* 3741Kartik K. Agaram2017-02-062-33/+47
| | | | Eliminate a long-standing under-abstraction.
* 3740Kartik K. Agaram2017-02-061-1/+2
|
* 3739Kartik K. Agaram2017-02-061-1/+11
|
* 3738 - start on new edit/ layer: minimizing printsKartik K. Agaram2017-02-0410-0/+0
|
* 3737Kartik K. Agaram2017-01-224-43/+42
|
* 3736 - support printing booleansKartik K. Agaram2017-01-221-1/+19
|
* 3735 - get rid of 'print-integer'Kartik K. Agaram2017-01-224-27/+8
| | | | | We do support printing non-integer numbers for some time, albeit using the underlying host platform.
* 3734Kartik K. Agaram2017-01-1110-15/+16
|
* 3733Kartik K. Agaram2017-01-112-2/+2
|
* 3732Kartik K. Agaram2017-01-1114-1024/+1033
|
* 3731Kartik K. Agaram2017-01-112-2/+4
| | | | Bitrot in main when loading just layer 1 of the edit/ and sandbox/ apps.
* 3730Kartik K. Agaram2017-01-061-0/+8
| | | | | | | Properly support reloading lessons containing scenarios in edit/ and sandbox/ apps. I was so sure I tested this for commit 3724, but apparently not.
* 3729Kartik K. Agaram2017-01-039-353/+29
|
* 3728Kartik K. Agaram2016-12-311-1/+1
|
* 3727Kartik K. Agaram2016-12-311-0/+1
|
* 3726Kartik K. Agaram2016-12-304-0/+4
|
* 3725Kartik K. Agaram2016-12-2733-1615/+1660
| | | | | | More improvements to cross-linking example programs. Include their own functions as well in the tags for each program, even as you share the core .mu files everywhere.
* 3724 - flag duplicate scenariosKartik K. Agaram2016-12-271-2/+23
| | | | | | I took this feature out in 3161 (back in Aug) to support scenarios in lesson/recipes.mu. Setting up snapshots for scenario data structures gives us the best of both worlds.
* 3723Kartik K. Agaram2016-12-272-4/+12
| | | | | Playing 5 why's with the previous commit, a better error message if we somehow skip translating an offset in 'get'.
* 3722Kartik K. Agaram2016-12-271-4/+14
| | | | | | Bugfix: reinstate a check for missing types in 'get' instructions. Thanks Caleb Couch for running into this.
* 3721Kartik K. Agaram2016-12-271-17/+17
| | | | | Switching my comment header for commented-out-code back after dropping Kakoune.
* 3720Kartik K. Agaram2016-12-271-1/+3
|
* 3719 - cross-link Mu waypoints to their locationKartik K. Agaram2016-12-2715-104/+120
|
* 3718Kartik K. Agaram2016-12-271-0/+2
|
* 3717Kartik K. Agaram2016-12-261-2/+0
|
* 3716Kartik K. Agaram2016-12-26119-2/+240
| | | | Make hyperlinks less salient in the rendered html since there's so many of them.
* 3715Kartik K. Agaram2016-12-2614-1263/+1271
| | | | | | | | Fix cross-links in html for the edit/ app. I originally thought I'd need to provide a commandline flag like --rel-path or something. But we need to support different relative paths in a single html file. So the solution instead is appropriately engineering the tags file.
* 3714Kartik K. Agaram2016-12-261-2/+0
| | | | | No point creating links to `before` and `after` blocks; the label is the real definition there.
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-26115-5909/+6467
|
* 3712Kartik K. Agaram2016-12-261-15/+15
| | | | Let's start highlighting pipe stages better in shell scripts.
* 3711Kartik K. Agaram2016-12-267-19/+3
| | | | | Delete '^L' characters now that I'm trying to switch from Vim to Kakoune. Pages aren't text objects in Kakoune.
* 3710Kartik K. Agaram2016-12-26119-41041/+41040
| | | | | Turns out we don't need to explicitly add anchors for each line. Vim's TOhtml has magic for that out of the box.
* 3709 - line numbers in htmlKartik K. Agaram2016-12-26119-41483/+44319
| | | | | | Each line number also gets an anchor name, but I'm not hyperlinking them for now because I don't want to encourage bookmarking these links just yet. They aren't permalinks because every revision may change what's at any given line number.
* 3708Kartik K. Agaram2016-12-121-0/+1
| | | | Fix CI.
* 3707Kartik K. Agaram2016-12-1227-55/+81
| | | | | | | | | | | | | | | | | | Be more disciplined about tagging 2 different concepts in the codebase: a) Use the phrase "later layers" to highlight places where a layer doesn't have the simplest possible self-contained implementation. b) Use the word "hook" to point out functions that exist purely to provide waypoints for extension by future layers. Since both these only make sense in the pre-tangled representation of the codebase, using '//:' and '#:' comments to get them stripped out of tangled output. (Though '#:' comments still make it to tangled output at the moment. Let's see if we use it enough to be worth supporting. Scenarios are pretty unreadable in tangled output anyway.)
* 3706Kartik K. Agaram2016-12-113-6/+6
|
* 3705 - switch to tested file-system primitivesKartik K. Agaram2016-12-1135-1504/+1598
|
* 3704Kartik K. Agaram2016-12-114-10/+56
| | | | | | | Bugfix: writing to a new file in a non-empty fake file system. The one time I try to get a little clever, it bites me in the ass. That'll teach me..
* 3703Kartik K. Agaram2016-12-066-50/+59
|
* 3702Kartik K. Agaram2016-12-061-1/+1
| | | | Commands like '$exit' shouldn't look like labels.
* 3701Kartik K. Agaram2016-11-293-1/+10
| | | | Gracefully handle yet another typo.
* 3700Kartik K. Agaram2016-11-2812-315/+193
| | | | | | Reorder products of some functions in the edit/ and sandbox/ apps. My recent realization: always return 'real' products before ones that just indicate an ingredient is mutable.
* 3699Kartik K. Agaram2016-11-2814-41/+32
| | | | | Delete some obsolete /same-as-ingredient attributes. We should always let Mu deduce those at this point.
* 3698Kartik K. Agaram2016-11-276-142/+148
| | | | | | | | Update sandbox/ with recent changes to edit/ (commit 3695 onwards). [Incidentally, this is the first commit to be made while running on OpenBSD. Simulated and host systems are going to blur together from now on.]
* 3697Kartik K. Agaram2016-11-272-26/+4
| | | | | | Decouple programming environment initialization from rendering. This helps make clear that we only need the width from screen during initialization.
* 3696Kartik K. Agaram2016-11-2712-336/+386
| | | | | | Decouple editor initialization from rendering to screen. This hugely simplifies the header of 'new-editor' and makes clear that it was only using the screen for rendering.
* 3695Kartik K. Agaram2016-11-272-20/+20
|