repl
access & interact norns’ REPLs (both maiden/matron & supercolider) from norns itself.
this lil util can work both as a script or as a mod.
it’s kinda experimental, but right now i could see 2 use-cases:
- debugging a launched script (when runing as a mod)
- live coding music on the go w/ just a keyboard (flash crash has several examples of using norns’ lua as the entrypoint)
ideally it could be nice to add the possibility to edit files:
- as a scratch buffer for trying out things (and live coding!)
- to code & debug any script on-the-go (à la PICO-8)
Requirements
norns is enough to consult the REPL outputs but a keyboard is necessary to send commands.
the mod requires 221214.
Documentation
-
E3
: switch between the 2 REPLs -
E2
: scroll UP/DOWN -
K1
+E2
: scroll LEFT/RIGHT
using a keyboard, one can type / edit at the prompt.
additionally:
-
Enter
: submit prompt to current REPL -
Alt
+ directional arrows: scroll UP/DOWN/LEFT/RIGHT - standard Unix/Emacs bindings (
Ctrl+A
,Ctrl+E
,Ctrl+W
,Ctrl+K
,Ctrl+Y
,Ctrl+L
) work
Acknowledments
inspired by PICO-8, flash crash, @infinitedigits’ internorns & dust2dust
lib, @xmacex’ setup…
Download
in maiden:
;install https://github.com/p3r7/repl