Skip to content

Interpreter workflow diagram

Wang Renxin edited this page Dec 30, 2017 · 12 revisions

For a general preview about passes in MY-BASIC, see the passes Wiki page.

The following diagram shows states and transaction functions of MY-BASIC.

Blocks in darker blue are interpreter states, bold arrows indicate a typical transaction path. Of course it's possible to open an interpreter, then close it without loading or running anything, but it doesn't make any sense, so I didn't link them. Transaction functions are shown in lighter blue rectangles.

If you want to run a BASIC code again without context reset, just don't call mb_reset but call mb_run once more only.

Clone this wiki locally