Liking cljdoc? Tell your friends :D

esprit.repl


-mainclj

(-main)

Launches the Esprit REPL.

Launches the Esprit REPL.
sourceraw docstring

bonjour-name->display-nameclj

(bonjour-name->display-name bonjour-name)

Converts an Esprit Bonjour service name to a display name (stripping off esprit-bonjour-name-prefix).

Converts an Esprit Bonjour service name to a display name
(stripping off esprit-bonjour-name-prefix).
sourceraw docstring

close-socketclj

(close-socket s)
source

connectionscljs

source

discover-and-choose-deviceclj

(discover-and-choose-device choose-first-discovered? opts)

Looks for Esprit devices advertised via Bonjour and presents a simple command-line UI letting user pick one, unless choose-first-discovered? is set to true in which case the UI is bypassed

Looks for Esprit devices advertised via Bonjour and presents
a simple command-line UI letting user pick one, unless
choose-first-discovered? is set to true in which case the UI is bypassed
sourceraw docstring

ensure-cljs-usercljs

(ensure-cljs-user)
source

esprit-bonjour-name-prefixclj

The prefix used in Esprit Bonjour service names.

The prefix used in Esprit Bonjour service names.
sourceraw docstring

esprit-bonjour-name?clj

(esprit-bonjour-name? bonjour-name)
source

esprit-evalclj

(esprit-eval repl-env js)

Evaluate a JavaScript string in the Espruino REPL process.

Evaluate a JavaScript string in the Espruino REPL process.
sourceraw docstring

EspritEnvclj

source

eval-datacljs

(eval-data data)
source

fn-ifyclj

(fn-ify js)

Wraps bare try-catch into a fn as to properly return pr_str

Wraps bare try-catch into a fn as to properly return pr_str
sourceraw docstring

load-javascriptclj

(load-javascript repl-env provides url)

Load a Closure JavaScript file into the Espruino REPL process.

Load a Closure JavaScript file into the Espruino REPL process.
sourceraw docstring

name-endpoint-map->choice-listclj

(name-endpoint-map->choice-list name-endpoint-map)
source

not-conected-resultclj

source

(print-discovered-devices name-endpoint-map opts)
source

processclj

(process js)

Process outgoing JS to make compatible with Espruino

Process outgoing JS to make compatible with Espruino
sourceraw docstring

read-messagesclj

(read-messages in response-promise opts)
source

repl-envclj

(repl-env & {:as options})

Esprit REPL environment.

Esprit REPL environment.
sourceraw docstring

repl-env*clj

(repl-env* options)
source

set-logging-levelclj

(set-logging-level logger-name level)
source

setupclj

(setup repl-env opts)
source

setup-mdnsclj

(setup-mdns reg-type name-endpoint-map)

Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries. Returns a function that will tear down mDNS.

Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries.
Returns a function that will tear down mDNS.
sourceraw docstring

socketclj

(socket host port)
source

start-reading-messagesclj

(start-reading-messages repl-env opts)

Starts a thread reading inbound messages.

Starts a thread reading inbound messages.
sourceraw docstring

tear-downclj

(tear-down repl-env)
source

wifi-passwordcljs

source

wifi-ssidcljs

source

writeclj

(write out js)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close