Crate foxbox_thinkerbell [] [src]

This create defines mechanisms for executing simple scripts on the server.

By design, these scripts have limited capabilities. Each script takes the form of a set of rules: "when any of the input services of foo matches some condition, send some value to all of the onput services of bar".

See module ast for more details on the grammar of scripts.

Modules

ast

Definition of the AST. Definition of Thinkerbell scripts.

compile

Compiling an AST into something runnable. A script compiler

fake_env

An implementation of Thinkerbell's Execution Environment on top of fake devices. Useful mainly for writing tests.

manager

ScriptManager manages storing and executing scripts.

run

Actually executing code. Launching and running the script

util

Miscellaneous internal utilities. Utility functions