X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=doc%2F8sync-new-manual.org;h=51c670ed4764cf5262cfb6bf337463f51bbde37c;hp=e2bb333c22e8153493c597f72b243f16221d3ad1;hb=6a8dc6f801cc08e1b92dce53fc8a3758c9b0718a;hpb=b96db22e8626b8814649f584ce899dad6d9a070e diff --git a/doc/8sync-new-manual.org b/doc/8sync-new-manual.org index e2bb333..51c670e 100644 --- a/doc/8sync-new-manual.org +++ b/doc/8sync-new-manual.org @@ -405,6 +405,39 @@ What cool commands can you add? ** An intermission: about live hacking +This section is optional, but highly recommended. +It requires that you're a user of GNU Emacs. +If you aren't, don't worry... you can forge ahead and come back in case +you ever do become an Emacs user. +(If you're more familiar with Vi/Vim style editing, I hear good things +about Spacemacs...) + +So you may have noticed while updating the last section that the +start/stop cycle of hacking isn't really ideal. +You might either edit a file in your editor, then run it, or +type the whole program into the REPL, but then you'll have to spend +extra time copying it to a file. +Wouldn't it be nice if it were possible to both write code in a +file and try it as you go? +And wouldn't it be even better if you could live edit a program +while it's running? + +Luckily, there's a great Emacs mode called Geiser which makes +editing and hacking and experimenting all happen in harmony. +And even better, 8sync is optimized for this experience. +8sync provides easy drop-in "cooperative REPL" support, and +most code can be simply redefined on the fly in 8sync through Geiser +and actors will immediately update their behavior, so you can test +and tweak things as you go. + + + + + +# Finally, show off pk + + + ** Battle bot! ** Adding a "rankings" web page