hara.lang.script-annex
annex-current
added in 4.0
(annex-current)(annex-current ns)gets the current annex. May not exist
(annex/annex-current) => any?
deregister-annex-tag
added in 4.0
(deregister-annex-tag ns tag)removes the config for the tag
get-annex-book
added in 4.0
(get-annex-book ns lang)gets the current book in the annex
(annex/get-annex-book (h/ns-sym) :lua) => book/book?
get-annex-library
added in 4.0
(get-annex-library ns)gets the current annex library
(annex/get-annex-library (h/ns-sym)) => lib/library?
register-annex-tag
added in 4.0
(register-annex-tag ns tag lang runtime config)registers a config for the tag
rt-annex:create
added in 4.0
(rt-annex:create {:keys [id], :as m})creates an annex object
(annex/rt-annex:create {}) => annex/rt-annex?
same-runtime?
added in 4.0
(same-runtime? rt lang runtime config)checks that one runtime is the same as another
start-runtime
added in 4.0
(start-runtime lang runtime config)starts the runtime in the annex