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
Clarify the distinction between:
- zrtl_plugin! macro: defines what symbols a plugin exports
- runtime.load_plugin(): loads plugins at runtime
Replace confusing "wrapper plugin" example with proper runtime
loading code showing how to use ZyntaxRuntime.load_plugin().
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