Persistent runtime REPL

Python state and memory files survive Run. Reset clears both. CSV read follows CSV write.

Loading worker…

Session transcript

Observed output

Events, files and structured errors


Runtime API

final runtime = await MontyRuntime.start(pool: pool, os: files.call,
  externalModules: {'tools': tools});
final value = await runtime.execute('import tools\ntools.add(2, 3)').result;
await runtime.dispose();
await pool.close();

Runtime code lives in lib/src/runtime/, bridge/, extensions/, host/ and os_call/. Core owns the engine, process pool and worker assets.

Engine examples and compatibility → dart_monty_core