Files
memex/projects/repl-tool

repl

Send a Lisp form to the running Passepartout daemon REPL (port 9105). Prints the response from the daemon.

== Usage

  repl "(+ 1 2)"
  echo "(+ 1 2)" | repl

== 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).