IsabelleClientMini (isabelle_elixir v0.2.0)
View SourceMinimal stateless client for the Isabelle server.
The module intentionally exposes the TCP socket and keeps no process state.
It does, however, implement Isabelle's real line-message framing: replies may
be either a single line (OK ...) or a byte length line followed by exactly
that many bytes.
Summary
Functions
Starts an asynchronous Isabelle command and returns an %IsabelleClient.Task{}.
Waits for an asynchronous Isabelle task to finish or fail.
Starts an Isabelle session_build task.
Requests cancellation of an Isabelle asynchronous task.
Closes a raw Isabelle TCP socket.
Runs a synchronous Isabelle server command and returns its OK body.
Connects to an Isabelle server and authenticates with its password.
Round-trips a JSON value through Isabelle's echo command.
Extracts user-facing theory messages from a finished use_theories result.
Extracts the session_id from a finished session-start result.
Returns the server command names supported by Isabelle.
Force-kills a local resident Isabelle server by name.
Lists local resident Isabelle servers known to Isabelle.
Starts a local resident Isabelle server via isabelle server.
Alias for await_task/3, kept for the original Mini workflow.
Runs Isabelle purge_theories for an active session.
Receives one framed Isabelle server response.
Asks the Isabelle server process to shut down.
Starts an Isabelle session_start task.
Starts an Isabelle session_stop task for a session id.
Starts an Isabelle use_theories task.
Functions
Starts an asynchronous Isabelle command and returns an %IsabelleClient.Task{}.
Waits for an asynchronous Isabelle task to finish or fail.
Starts an Isabelle session_build task.
Requests cancellation of an Isabelle asynchronous task.
Closes a raw Isabelle TCP socket.
Runs a synchronous Isabelle server command and returns its OK body.
Connects to an Isabelle server and authenticates with its password.
Round-trips a JSON value through Isabelle's echo command.
Extracts user-facing theory messages from a finished use_theories result.
Extracts the session_id from a finished session-start result.
Returns the server command names supported by Isabelle.
Force-kills a local resident Isabelle server by name.
Lists local resident Isabelle servers known to Isabelle.
Starts a local resident Isabelle server via isabelle server.
Alias for await_task/3, kept for the original Mini workflow.
Runs Isabelle purge_theories for an active session.
Receives one framed Isabelle server response.
Asks the Isabelle server process to shut down.
Starts an Isabelle session_start task.
Starts an Isabelle session_stop task for a session id.
Starts an Isabelle use_theories task.