dart_monty 0.4.0
dart_monty: ^0.4.0 copied to clipboard
Pure Dart bindings for Monty, a restricted sandboxed Python interpreter built in Rust. Run Python from Dart and Flutter on desktop, web, and mobile.
0.4.0 #
- Add
MontyResolveFuturesprogress variant for async/futures support (M13) - Add
resumeAsFuture(),resolveFutures(),resolveFuturesWithErrors()to platform API - Add
MONTY_PROGRESS_RESOLVE_FUTUREStag andFutureSnapshothandling in Rust C FFI - Implement futures support in FFI and WASM packages (WASM stubs with
UnsupportedError) - Add tier 13 async/futures ladder fixtures (IDs 170-175)
0.3.5 #
- Add
scriptName,excType,traceback,kwargs,callId,methodCallto data models - Add Rust C FFI accessors and
script_nameparameter for richer run/start metadata - Reject invalid UTF-8 in native FFI external function names and script names
- Wire FFI bindings to expose new native accessors to Dart
- Wire WASM JS bridge: kwargs, callId, scriptName, excType, and traceback in worker responses
- Fix worker onerror to reject pending promises on crash
- Fix
restore()state machine to return active instance - Fix FFI error paths to parse full error JSON (excType, traceback, filename)
- Add ladder test fixtures for tiers 8 (kwargs/callId), 9 (exceptions/traceback), 15 (scriptName)
- Xfail pre-existing try-except and syntax error ladder fixtures
- Add Flutter web plugin (dart_monty_web) with 52 unit tests
- Add Flutter web example app with sorting visualizer, TSP, and ladder runner
- Deploy Flutter web app to GitHub Pages at /flutter/
0.3.4 #
- Initial release.