mu/sandbox
Kartik K. Agaram 3151fb2387 2585 - label sandboxes with a number
It also seems useful that the number maps to the name of the file the
sandbox is saved in. However this mapping is currently a happy accident
and not actually tested.

I'm starting to switch gears and help make the editor useable with
many many sandboxes. This is just the first step of several.
2016-01-22 08:52:28 -08:00
..
001-editor.mu 2576 - distinguish allocated addresses from others 2016-01-19 23:18:03 -08:00
002-typing.mu 2576 - distinguish allocated addresses from others 2016-01-19 23:18:03 -08:00
003-shortcuts.mu 2576 - distinguish allocated addresses from others 2016-01-19 23:18:03 -08:00
004-programming-environment.mu 2580 - check product type of 'maybe-convert' 2016-01-20 20:32:43 -08:00
005-sandbox.mu 2585 - label sandboxes with a number 2016-01-22 08:52:28 -08:00
006-sandbox-edit.mu 2585 - label sandboxes with a number 2016-01-22 08:52:28 -08:00
007-sandbox-delete.mu 2585 - label sandboxes with a number 2016-01-22 08:52:28 -08:00
008-sandbox-test.mu 2576 - distinguish allocated addresses from others 2016-01-19 23:18:03 -08:00
009-sandbox-trace.mu 2585 - label sandboxes with a number 2016-01-22 08:52:28 -08:00
010-warnings.mu 2585 - label sandboxes with a number 2016-01-22 08:52:28 -08:00
011-editor-undo.mu 2580 - check product type of 'maybe-convert' 2016-01-20 20:32:43 -08:00
mu_run 2183 - environment + external editor using tmux 2015-09-12 13:51:25 -07:00
Readme.md 2434 2015-11-13 18:54:24 -08:00
tmux.conf 2183 - environment + external editor using tmux 2015-09-12 13:51:25 -07:00

Variant of the mu programming environment that runs just the sandbox.

Suitable for people who want to run their favorite terminal-based editor with mu. Just run editor and sandbox inside split panes atop tmux. For example, here's mu running alongside vim:

tmux+vim example

To set this up:

a) copy the lines in tmux.conf into $HOME/.tmux.conf.

b) copy the file mu_run somewhere in your $PATH.

Now when you start tmux, split it into two vertical panes, run mu sandbox on the right pane and your editor on the left. You should be able to hit F4 in either side to run the sandbox.

Known issues: you have to explicitly save inside your editor before hitting F4, unlike with 'mu edit'.

One problem with a fork of the edit/ app is that many of the tests write to the same files under the .traces/ directory. I try to always commit the results of edit/ rather than the sandbox/ app, but I haven't been perfect.