Liking cljdoc? Tell your friends :D

rulescript.lang.invocations


application->result-mapcljmacro

(application->result-map rule-name expressions)

Wrap the application of a rule with structured rule output.

Wrap the application of a rule with structured rule output.
sourceraw docstring

apply-rulecljmacro

(apply-rule rule-name & expressions)

Apply a rule that has been defined.

Apply a rule that has been defined.
sourceraw docstring

apply-rule*cljmacro

(apply-rule* application-method rule-name & expressions)

Pass a rule and its expressions off to be tagged in env*

Pass a rule and its expressions off to be tagged in env*
sourceraw docstring

apply-rule-innercljmacro

(apply-rule-inner rule-name & args)

Get a fn by rule-name from the vars map, and apply it to args

Get a fn by rule-name from the vars map, and apply it to args
sourceraw docstring

change-result!clj

(change-result! rule-name-kw new-map)

Change an entry in the :results map of env*

Change an entry in the :results map of env*
sourceraw docstring

define-rulecljmacro

(define-rule rule-name arglist & expressions)

Define a rule. Rules are closures expecting the arguments from arglist.

Define a rule. Rules are closures expecting the arguments from arglist.
sourceraw docstring

env*clj

source

initialize-eval-envclj

(initialize-eval-env)

Set up execution evironment for rule evaluation.

Set up execution evironment for rule evaluation.
sourceraw docstring

log-application-result!cljmacro

(log-application-result! result-map)

Associate the result of an application in the :results map of env*.

Associate the result of an application in the :results map of env*.
sourceraw docstring

rulecljmacro

(rule rule-name & expressions)

Execute a rule anonymously without variable bindings.

Execute a rule anonymously without variable bindings.
sourceraw docstring

rule-innercljmacro

(rule-inner rule-name & expressions)

Execute expressions.

Execute expressions.
sourceraw docstring

validate-documentcljmacro

(validate-document [& inputs] & expressions)

Top-level macro for rolling up the result of all rule applications.

Top-level macro for rolling up the result of all rule applications.
sourceraw docstring

warn-whenclj

(warn-when warning-val {:keys [rule result] :as result-map})

If the change a result map's :result to :warn if it matches a given value.

If the change a result map's :result to :warn if it matches a given value.
sourceraw docstring

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

× close