hara.lang.script

!

macro

added in 4.0

(! tag body)

switch between defined annex envs

+module-keys+

+runtime-keys+

annex:get

added in 4.0

(annex:get tag)(annex:get tag ns)

gets the runtime associated with an annex

annex:list

added in 4.0

(annex:list)(annex:list ns)

lists all annexs

annex:restart-all

added in 4.0

(annex:restart-all)(annex:restart-all ns)

stops and starts all annex runtimes

annex:start

added in 4.0

(annex:start tag)(annex:start tag ns)

starts an annex tag

annex:start-all

added in 4.0

(annex:start-all)(annex:start-all ns)

starts all the annex tags

annex:stop

added in 4.0

(annex:stop tag)(annex:stop tag ns)

stops an annex tag

annex:stop-all

added in 4.0

(annex:stop-all)(annex:stop-all ns)

stops all annexs

install

added in 4.0

(install {:keys [lang grammar], :as book})

installs a language

resolve-runtime-config

added in 4.1

(resolve-runtime-config data)

resolves quoted vars, symbols, and forms contained in runtime config data

script

macro

added in 4.0

(script lang)(script lang module)(script lang module config)

script macro

script+

macro

added in 4.0

(script+ [tag lang])(script+ [tag lang] config)

macro for test extension setup

script-

macro

added in 4.0

(script- lang)(script- lang config)

macro for test setup

script-ext

added in 4.0

(script-ext [tag lang] config)

the script+ function call

script-ext-run

added in 4.0

(script-ext-run ns tag body meta)

function to call with the ! macro

script-fn

added in 4.0

(script-fn lang)(script-fn lang module)(script-fn lang module config)

calls the regular setup script for the namespace

script-fn-base

added in 4.0

(script-fn-base lang module-id config lib)

setup for the runtime

script-macro-import

added in 4.0

(script-macro-import book)(script-macro-import book restrict)

import macros into the namespace

script-ns-import

added in 4.0

(script-ns-import {:keys [lang], :as config})(script-ns-import lang {:keys [require require-impl implements], :as config})

imports the namespace and sets a primary flag

script-require-target-id

(script-require-target-id module-id source-id as)

script-specialize-config

(script-specialize-config lang module-id config library)

script-specialize-merge-contracts

(script-specialize-merge-contracts lang module-id contracts specialize)

script-specialize-require

(script-specialize-require lang module-id library require-spec)

script-test

added in 4.0

(script-test lang config)

the script- function call

script-test-mode?

added in 4.0

(script-test-mode? config)

Returns true only when the caller opted in with :test-mode true and we are in a code.test load phase (eval-mode false).

script-test-prep

added in 4.0

(script-test-prep lang config)

preps the current namespace