(! tag body)switch between defined annex envs
switch between defined annex envs
(add-listener notify id sink-key f)adds a listener to the sink
adds a listener to the sink
(annex-current)(annex-current ns)gets the current annex. May not exist
(annex/annex-current) => any?
gets the current annex. May not exist (annex/annex-current) => any?
(annex-reset)(annex-reset ns)resets the current annex
resets the current annex
(annex:get tag)(annex:get tag ns)gets the runtime associated with an annex
gets the runtime associated with an annex
(annex:restart-all)(annex:restart-all ns)stops and starts all annex runtimes
stops and starts all annex runtimes
(annex:start tag)(annex:start tag ns)starts an annex tag
starts an annex tag
(annex:start-all)(annex:start-all ns)starts all the annex tags
starts all the annex tags
(basic-typed-args args)typed args without grammar checks
(mapv (juxt meta identity) (basic-typed-args '(:int i, :const :int j))) => '[[{:- [:int]} i] [{:- [:const :int]} j]]
typed args without grammar checks
(mapv (juxt meta identity)
(basic-typed-args '(:int i, :const :int j)))
=> '[[{:- [:int]} i]
[{:- [:const :int]} j]](default-library & [override])gets the default library
gets the default library
(default-library:reset & [override])clears the default library, including all grammars
clears the default library, including all grammars
(default-notify)gets the default notify server
(notify/default-notify)
gets the default notify server (notify/default-notify)
(default-notify:reset)resets the default notify server
resets the default notify server
(defmacro.! sym args & body)macro for runtime lang macros
macro for runtime lang macros
(delete-entry! lib {:keys [lang module section id] :as m})deletes an entry from the library
deletes an entry from the library
(delete-module! lib lang module-id)deletes a module from the library
deletes a module from the library
(delete-modules! lib lang module-ids)deletes a bunch of modules from the library
deletes a bunch of modules from the library
(emit-as lang forms & [meta])helper function for emitting multiple forms
helper function for emitting multiple forms
(emit-entry grammar entry {:keys [snapshot module emit] :as mopts})emits a given entry
emits a given entry
(emit-entry-deps {:keys [lang module id] :as ptr} {:keys [library] :as meta})emits only the entry deps
emits only the entry deps
(emit-main form grammar mopts)creates the raw emit with loop
(emit/emit-main '(not (+ 1 2 3)) +grammar+ {}) => "!(1 + 2 + 3)"
creates the raw emit with loop
(emit/emit-main '(not (+ 1 2 3))
+grammar+
{})
=> "!(1 + 2 + 3)"(emit-module)(emit-module lang-or-rt)(emit-module lang-or-rt module-id)emits the entire module
emits the entire module
(emit-ptr ptr & [opts])emits the poiner as a string
emits the poiner as a string
(emit-script form {:keys [library lang emit] :as meta})emits a script with all dependencies
emits a script with all dependencies
(emit-str form meta)converts to an output string
converts to an output string
(emit-symbol lang sym & [mopts])emits string given symbol and grammar
emits string given symbol and grammar
(emit-type-record {:keys [modifiers symbol]})formats to standard
formats to standard
(force-reload ns lang)forces reloading of all dependent namespaces
forces reloading of all dependent namespaces
(get-book-raw lib lang)gets the raw book, without merge
(b/list-entries (lib/get-book-raw +library+ :redis)) => empty?
(b/list-entries (lib/get-book +library+ :redis)) => coll?
gets the raw book, without merge (b/list-entries (lib/get-book-raw +library+ :redis)) => empty? (b/list-entries (lib/get-book +library+ :redis)) => coll?
(get-module lib lang module-id)gets a module from library
gets a module from library
(get-sink {:keys [sinks]} id)gets a sink from the notification app server
gets a sink from the notification app server
(get-snapshot lib)gets the current snapshot for the library
gets the current snapshot for the library
(intern-macros lang ns & [module-id library merge-op])interns all macros from one namespace to another
interns all macros from one namespace to another
(lang-pointer lang)(lang-pointer lang {:keys [module id] :as m})creates a lang pointer
creates a lang pointer
(lang-rt)(lang-rt lang)(lang-rt ns lang)getn the runtime contexts in a map
getn the runtime contexts in a map
(lang-rt-default ptr)gets the default runtime function
gets the default runtime function
(lang-rt-list)(lang-rt-list ns)lists rt in a namespace
lists rt in a namespace
(lib-module-entries)(lib-module-entries module-id)(lib-module-entries module-id {:keys [lang entry]})outputs module entries
outputs module entries
(lib-module-overview)(lib-module-overview module-id)(lib-module-overview module-id {:keys [lang entry]})lists all modules
lists all modules
(lib-module-purge)(lib-module-purge module-id)(lib-module-purge module-id {:keys [lang]})purges modules
purges modules
(lib-module-unused)(lib-module-unused module-id)(lib-module-unused module-id {:keys [lang]})lists unused modules
lists unused modules
(lib-overview)(lib-overview lang)specifies lib overview task
specifies lib overview task
(lint-set ns)(lint-set ns option)sets the linter for a namespace
sets the linter for a namespace
(module-entries lang ns pred)gets all module entries
(w/module-entries :xtalk 'xt.lang.base-lib identity) => coll?
gets all module entries (w/module-entries :xtalk 'xt.lang.base-lib identity) => coll?
(print-module)(print-module lang-or-rt)emits and prints out the module
(std.print/with-out-str (w/print-module (l/rt 'xt.lang.base-lib :xtalk))) => string?
emits and prints out the module (std.print/with-out-str (w/print-module (l/rt 'xt.lang.base-lib :xtalk))) => string?
(ptr-clip ptr)copies pointer text to clipboard
copies pointer text to clipboard
(ptr-display-str ptr)copies pointer text to clipboard
copies pointer text to clipboard
(ptr-print ptr)copies pointer text to clipboard
copies pointer text to clipboard
(ptr-setup-deps ptr)calls setup on a pointer and all dependencies
calls setup on a pointer and all dependencies
(ptr-teardown ptr)calls teardown on a pointer
calls teardown on a pointer
(ptr-teardown-deps ptr)calls teardown on pointer all dependencies
calls teardown on pointer all dependencies
(purge-book! lib lang)clears all modules from book
clears all modules from book
(remove-listener notify id sink-key)removes a listener from the sink
removes a listener from the sink
(rt-macro-opts lang-or-runtime)creates the default macro-opts for a runtime
creates the default macro-opts for a runtime
(rt:inner)(rt:inner lang & [ns])gets the inner client for a shared runtime
gets the inner client for a shared runtime
(rt:invoke ns lang code)invokes code in the given namespace
invokes code in the given namespace
(rt:module lang-or-rt)gets the book module for a runtime
gets the book module for a runtime
(rt:module-meta lang-or-rt)gets the book module for a runtime
gets the book module for a runtime
(rt:module-purge)(rt:module-purge lang-or-rt)purges the current workspace
purges the current workspace
(rt:restart)(rt:restart lang & [ns])restarts the shared runtime
restarts the shared runtime
(rt:scaffold lang)(rt:scaffold rt module-id)(rt:scaffold-imports lang)(rt:scaffold-imports rt module-id)(rt:scaffold-to lang)(rt:scaffold-to rt module-id)(rt:setup lang)(rt:setup rt module-id)(rt:setup-single lang)(rt:setup-single rt module-id)(rt:setup-to lang)(rt:setup-to rt module-id)(rt:space lang & [namespace])will return space if not found (no default space)
will return space if not found (no default space)
(rt:teardown lang)(rt:teardown rt module-id)(rt:teardown-at lang)(rt:teardown-at rt module-id)(rt:teardown-single lang)(rt:teardown-single rt module-id)(rt:teardown-to lang)(rt:teardown-to rt module-id)(runtime-library)gets the current runtime (annex or default)
(runtime-library) => lib/library?
gets the current runtime (annex or default) (runtime-library) => lib/library?
(script lang)(script lang module)(script lang module config)script macro
script macro
(script+ [tag lang])(script+ [tag lang] config)macro for test extension setup
macro for test extension setup
(script- lang)(script- lang config)macro for test setup
macro for test setup
(script-rt-stop)(script-rt-stop lang)(script-rt-stop lang ns)stops the current runtime
stops the current runtime
(sym-default-str sym)default fast symbol conversion
default fast symbol conversion
(sym-entry lang sym)gets the entry using a symbol
gets the entry using a symbol
(sym-full {:keys [module id]})(sym-full module id)creates a full symbol
creates a full symbol
(sym-pair id)gets the symbol pair
(sym-pair 'L.core/identity) => '[L.core identity]
gets the symbol pair (sym-pair 'L.core/identity) => '[L.core identity]
(tmpl-entry s)forms for various argument types
forms for various argument types
(tmpl-macro [s args {:keys [property optional vargs empty]}])forms for various argument types
forms for various argument types
(with-trace & body)form to control trace option
form to control `trace` option
(with:cache-force & body)forces the cache to update
forces the cache to update
(with:clip & body)form to control clip option
form to control `clip` option
(with:emit & body)binds the top-level emit function to common/emit-fn
(emit/with:emit (common/emit-fn '(not (+ 1 2 3)) +grammar+ {})) => "!(1 + 2 + 3)"
binds the top-level emit function to common/*emit-fn*
(emit/with:emit
(common/*emit-fn* '(not (+ 1 2 3))
+grammar+
{}))
=> "!(1 + 2 + 3)"(with:explode & body)form to control explode option
form to control `explode` option
(with:input & body)form to control input option
form to control `input` option
(with:library [lib] & body)injects a library as the default
injects a library as the default
(with:macro-opts [mopts] & body)bind macro opts
bind macro opts
(with:print & body)form to control print option
form to control `print` option
(with:print-all & body)toggles print for all intermediate steps
toggles print for all intermediate steps
(with:raw & body)form to control raw option
form to control `raw` option
(with:rt [rt] & body)forcibly applies a runtime
forcibly applies a runtime
(with:rt-wrap [f] & body)wraps an additional function to the invoke function
wraps an additional function to the invoke function
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 |