docs: add README.org for repl, tangle, org-eval, verify-repl tools
This commit is contained in:
27
projects/repl-tool/README.org
Normal file
27
projects/repl-tool/README.org
Normal file
@@ -0,0 +1,27 @@
|
||||
#+TITLE: repl
|
||||
|
||||
Send a Lisp form to the running Passepartout daemon REPL (port 9105).
|
||||
Prints the response from the daemon.
|
||||
|
||||
== Usage
|
||||
|
||||
#+begin_src shell
|
||||
repl "(+ 1 2)"
|
||||
echo "(+ 1 2)" | repl
|
||||
#+end_src
|
||||
|
||||
== Environment
|
||||
|
||||
- ~PASSEPARTOUT_HOST~ — daemon host (default 127.0.0.1)
|
||||
- ~PASSEPARTOUT_PORT~ — daemon port (default 9105)
|
||||
- ~PASSEPARTOUT_REPL_TIMEOUT~ — timeout seconds (default 10)
|
||||
|
||||
== Protocol
|
||||
|
||||
Connects via framed TCP (6-byte hex length prefix). Sends a
|
||||
~:repl-eval~ sensor event and reads the response. Expects the
|
||||
daemon to be running (~passepartout daemon~).
|
||||
|
||||
== Dependencies
|
||||
|
||||
Perl (stdlib only).
|
||||
Reference in New Issue
Block a user