-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial implementation of rhai based plugin system * cleanup EmitSetup trait situation + appease clippy * fix tests by emitting everything to an intermediate buffer first * use thread_local + once_cell::Lazy to avoid constructing the engine over and over * remove unused import * DriverBuilder::find_state + define plugins in fud2.toml * try building more complicated plugins * unused annotation for add_file * nicer errors for rhai * remove unused imports * clean reporting code slightly * create a new emitter for each rhai function * RhaiEmitter::with to simplifies buffering + unbuffering the emitter * separate plugins.rs into multiple files + rename things * fix lib.rs * error reporting for setup_refs * small string change * change Into to From
- Loading branch information
Showing
17 changed files
with
858 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.