precept.repl

all-compiled-rules

(all-compiled-rules cenv)

get-attributes

(get-attributes store-m)

get-entity

(get-entity store-m eid)

get-sub

(get-sub state-m k)

impl-namespace?

(impl-namespace? m)

list-subs

(list-subs state-m)

ns-name-intern-pairs

(ns-name-intern-pairs rule-ns)

Returns [[ns-name ns-intern]…] for ease of diffing productions in compiler env and productions interned in rule-ns. Obtains ns-interns from cljs.analyzer

recreate-session-state!

(recreate-session-state! sess)

redef-session!

(redef-session! sess)

redef-session-cljs!

macro

(redef-session-cljs! sess)

reload-session!

(reload-session! sess)

reload-session-cljs!

macro

(reload-session-cljs! sess)

remove-production!

(remove-production! cenv rule-ns rule-name)

remove-stale-productions!

(remove-stale-productions! cenv stale-productions)

remove-stale-runtime-rule-defs!

macro

(remove-stale-runtime-rule-defs! stale-productions)

Synchronizes runtime rule definitions in precept.state/rules with rules interned in namespace. stale-productions are a set of rule names that were in the compiler env but not interned in the namespace

unmap-all-rules!

(unmap-all-rules! sess)

without-impl-ns-rules

(without-impl-ns-rules compiled-rules)