You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chart plugin uses zrtl_paint internally via Rust crate imports,
so users only need to load zrtl_chart - not paint/window separately.
Add note explaining the recommended pattern: DSL plugins should
encapsulate their dependencies and expose only domain-specific symbols.
Note: The `zrtl_chart` plugin uses `zrtl_paint` internally via Rust crate dependencies (not runtime symbol lookup). This is the recommended pattern for DSL plugins - they encapsulate their dependencies and expose only domain-specific symbols like `$Chart$set_type`.
542
+
542
543
The key insight: `zrtl_plugin!`**defines** what symbols a plugin exports. The runtime **loads** plugins at startup using `load_plugin()` or via the CLI `--plugins` flag. Your DSL grammar then calls those symbols (e.g., `$Chart$set_type`).
0 commit comments