Commit graph

22 commits

Author SHA1 Message Date
5ab58f9248 Add Guix .dir-locals.el 2023-11-05 18:42:10 -05:00
d7ac8fc31c Disallow the root node from becoming point-node
Unless it's the only node, anyway. This fixes the issue of not being
able to navigate across the children of the document root without
first doing a down-node.
2023-11-04 23:16:18 -05:00
4af941954d Add fallback movements for next- and prev-node 2023-11-04 22:40:14 -05:00
5c5f7ff1ba Fix crash on impossible tree movement 2023-11-04 20:14:03 -05:00
00f4935d3b Extremely rudimentary tree navigation
Needs some error checking, and we want to only consider named nodes so
we're navigating the abstract tree rather than the tree of all tokens.
2023-11-04 19:11:48 -05:00
eff0f10911 Use commit of guile-ts supporting TREE_SITTER_GRAMMAR_PATH 2023-11-04 18:05:57 -05:00
57ce73370d Add state structure
As we expand with new features and get tree-sitter working, we're
going to have more to keep track of than can reasonably be done with
individual arguments. Guile's modified srfi-9 lets us do this in a
nice functional style.

This also subtly tweaks the behavior of character insertion so it's
actually correct.
2023-11-04 16:42:30 -05:00
3f7684fb13 Add vim movement keys
Some indentation weirdness also got caught up in this, not sure what that's about...
2023-11-04 15:27:42 -05:00
4a7dee2f9e Add all tree-sitter grammars in Guix
* guix.scm: Add all tree-sitter grammars in Guix repos; move Guile inputs out of
propagated-inputs; cleanup indentation and layout.
* hall.scm: Add all tree-sitter grammars in Guix repos.
2023-11-04 15:12:43 -04:00
Skylar
d723e9cd8d hall.scm: Add tree-sitter-scheme dependency 2023-11-04 12:44:59 -05:00
Skylar
8a3c3b1aca A Common Lisper walks into a Schemer bar and says 2023-11-04 12:15:31 -05:00
Skylar
976a1b137d Insert, rather than change, characters in insert mode 2023-11-04 11:47:29 -05:00
Skylar
8f0e46ee5d Support loading files 2023-11-04 11:45:31 -05:00
Skylar
4f112832a7 Add modal input layers 2023-11-04 10:54:06 -05:00
Skylar
213552d0fc Okay we're officially gonna use spaces now 2023-11-04 09:29:18 -05:00
878eadd075 Setup initial architecture for testing 2023-11-04 02:03:23 -04:00
ae990b4784 Fix indenting 2023-11-04 02:02:41 -04:00
Skylar
09ffc17617 Add simple build script, update hall.scm 2023-11-03 22:18:00 -05:00
Skylar
1db39c1348 Create a basic ncurses buffer that can be edited 2023-11-03 22:15:11 -05:00
3d1d63d050 Setup infrastructure 2023-11-03 22:38:08 -04:00
skylar
bfafbbe8dc Basic empty Hall project
FossilOrigin-Name: 1aafeec308f381ce775519ca1c50a2967529264bf8623780a7f23117d447c343
2023-11-03 07:48:08 +00:00
skylar
3a83839f37 initial empty check-in
FossilOrigin-Name: 66f54c054153180c57e77a959c8737cb55e182013eef8b12edebc1428a0af399
2023-11-03 05:40:31 +00:00