mu/sandbox
Kartik Agaram 23d3a02226 4266 - space for alloc-id in heap allocations
This has taken me almost 6 weeks :(
2018-06-24 09:18:20 -07:00
..
001-editor.mu 4266 - space for alloc-id in heap allocations 2018-06-24 09:18:20 -07:00
002-typing.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
003-shortcuts.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
004-programming-environment.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
005-sandbox.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
006-sandbox-copy.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
007-sandbox-delete.mu 4261 - start using literals for 'true' and 'false' 2018-06-17 00:29:22 -07:00
008-sandbox-edit.mu 4261 - start using literals for 'true' and 'false' 2018-06-17 00:29:22 -07:00
009-sandbox-test.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
010-sandbox-trace.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
011-errors.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
012-editor-undo.mu 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
Readme.md 3897 - various updates to documentation 2017-05-29 14:21:32 -07:00
mu_run 3929 2017-06-19 17:31:29 -07:00
tmux.conf 3929 2017-06-19 17:31:29 -07:00

Readme.md

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.


Appendix: keyboard shortcuts

moving

  • ctrl-a or home: move cursor to start of line
  • ctrl-e or end: move cursor to end of line

modifying text