Module runtime Copy item path Source NdwEngine Placeholder struct representing the (unported) StageR engine context. get_desired_event_notifications Return desired event notifications for a document (empty: not yet implemented). get_document_frame Get current document frame exported to a format.
If the frame is absent, returns an empty byte vector. load_and_convert Load, convert, and return bytes (JS loadAndConvert). load_and_run Load and run a document (blocking until completion in original JS).
Here it prepares and starts execution; actual stepping / event loop
would need the still-unported runtime engine. load_stored_document Load a stored document from path using specified input format.
Tries path first; if not found, also tries to prefix with
resources/data/eite/ (for bundled assets). ndw Simulated main loop (ndw). Returns an exit code (currently always 0). ndw_invoke Invoke specific runtime routine (stub). Present only for API parity. run_document Run document: prepare + go. run_document_go Start (execute) a previously prepared document. run_document_prepare Prepare to run a document, returning an execution ID. run_exec_test Translate of JS runExecTest. run_tests_document_exec Translate of JS runTestsDocumentExec(boolV) send_event Send an event to a running document (stub). start_document_exec Public API: start execution for an existing prepared document (exec_id). start_eite Start EITE using the default startup document (“eite.sems” in “sems” format).
(startEite in JS) try_load_asset 🔒