Commit Graph

68 Commits

Author SHA1 Message Date
Kartik Agaram 3dfeaaff4f 4570 2018-09-21 14:28:39 -07:00
Kartik Agaram 694d8485d4 4568
Get the 'edit' script working again with the 'EE' command in Vim.
2018-09-21 13:51:43 -07:00
Kartik Agaram 9968eda491 4474 2018-08-04 16:24:07 -07:00
Kartik Agaram bc394aaf39 4323 2018-07-07 13:54:16 -07:00
Kartik Agaram d1262cd690 4299 2018-06-30 23:05:10 -07:00
Kartik Agaram 01ce563dfe 4262 - literal 'null' 2018-06-17 15:57:37 -07:00
Kartik Agaram dd66068298 4261 - start using literals for 'true' and 'false'
They uncovered one bug: in edit/003-shortcuts.mu
  <scroll-down> was returning 0 for an address in one place where I
  thought it was returning 0 for a boolean.

Now we've eliminated this bad interaction between tangling and punning
literals.
2018-06-17 00:29:22 -07:00
Kartik K. Agaram 7a4bf4cfab 3976 2017-08-20 22:03:31 -07:00
Kartik K. Agaram 49620728e8 3707
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.)
2016-12-12 10:07:59 -08:00
Kartik K. Agaram a9817844ae 3566
vim: Stop loading C++-specific syntax highlighting in non-C++ files.

I also figured out why the autocommand wasn't running on the first file:
my local setup for directory-specific vimrc files runs inside an
autocommand, and it runs autocommands recursively inside an autocommand,
and it runs only autocommands inside a 'LocalVimrc' autocommand group to
ensure infinite regress (autocommands running multiple times in
practice). And I'd forgotten this 'feature' of my vimrc setup by the
time I set this up for Mu.
2016-10-23 17:00:24 -07:00
Kartik K. Agaram 9a81d7460f 3561 2016-10-22 16:56:07 -07:00
Kartik K. Agaram 3e1349d29f 3431
Improvements to syntax highlighting, particularly for Mu code in C++
files.
2016-09-30 10:45:14 -07:00
Kartik K. Agaram 1ae4e0d95f 1555 - mu.vim: distinguish control-flow from constants
We also do this in regular C++ now.
2015-06-12 22:32:28 -07:00
Kartik K. Agaram 94fa5c95ad 1297 2015-05-07 12:47:25 -07:00
Kartik K. Agaram b96af395b9 1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
2015-05-05 21:17:24 -07:00
Kartik K. Agaram 732fd9b0cc 1150 2015-04-23 19:54:44 -07:00
Kartik K. Agaram b3cdcdd44f 1093 - little more vim support for the old arc version 2015-04-17 22:52:41 -07:00
Kartik K. Agaram b52a2cb5d8 744 - test cursor movement in trace browser
Don't prevent run-code from clobbering existing functions, but warn
because it makes traces easier to read if the different sections of a
test can be distinguished.
2015-02-11 13:16:02 -08:00