(eval-libpython _ string)evals body in the runtime
(lp/eval-libpython nil "OUT = 1 + 1") => 2
evals body in the runtime
(lp/eval-libpython nil
"OUT = 1 + 1")
=> 2(invoke-libpython {:keys [state lang layout] :as rt} ptr args)invokes a pointer in the runtime
(lp/invoke-libpython (l/rt :python) k/sub [1 2]) => -1
invokes a pointer in the runtime
(lp/invoke-libpython (l/rt :python)
k/sub
[1 2])
=> -1(rt-libpython:create {:keys [id] :or {id (h/sid)} :as m})creates a libpython runtime
(h/-> (lp/rt-libpython:create {:lang :js}) (h/start) (h/stop)) => lp/rt-libpython?
creates a libpython runtime
(h/-> (lp/rt-libpython:create {:lang :js})
(h/start)
(h/stop))
=> lp/rt-libpython?(rt-libpython? obj)checks object is a libpython rt
checks object is a libpython rt
(start-libpython rt)starts the libpython runtime
starts the libpython runtime
(stop-libpython rt)stops the libpython runtime
stops the libpython runtime
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |