Mech Source

Mech was first implemented as a single javascript file, a plugin, with traditional emit and bind. This was eventually partitioned into sections which we will now manage as separate tested modules and build into a single plugin.

Import hierarchy.

digraph { rankdir=BT node [shape=box style=filled fillcolor=beige] mech -> interpreter mech -> blocks -> library }

Mech — installs as plugin.

Interpreter — parses markup and runs blocks.

Blocks — retrieve, interpret and report state in uniform way.

Library — block specific code often extracted from scripts.