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.

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

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.

Tests — headless tests with test coverage reports.