Go to the first, previous, next, last section, table of contents.


Bootstrap Shell Overview

When you fire up muq by (say) "./muq", you will by default be left in the inserver bootstrap muf shell, which identifies itself by printing a "Root:" prompt and then waiting for input.

The outermost loop of this shell is written in muf (.lib.muf.zil -- see z-muq.c:assemble_zil()) but the rest is hardcoded in C.

The bootstrap shell repetitively reads input lines until it has a syntactically complete muf expression, then compiles it into bytecodes and evaluates it. Values on the stack are printed after the "Root:" prompt, with the top of stack to the right.


Go to the first, previous, next, last section, table of contents.