rhai/src
2022-11-22 16:02:04 +08:00
..
api Make Engine::set_XXX chainable. 2022-11-22 13:11:47 +08:00
ast Simplify chaining code. 2022-11-19 18:41:51 +08:00
bin Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
config Fix docs. 2022-11-11 16:46:28 +08:00
eval Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
func Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
module Fix docs. 2022-11-11 16:46:28 +08:00
packages Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
serde Fix builds. 2022-11-22 16:02:04 +08:00
types Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
engine.rs Clean up types. 2022-11-08 15:01:40 +08:00
lib.rs Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
optimizer.rs Optimize .type_of() and .is_shared(). 2022-11-21 16:27:12 +08:00
parser.rs Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
README.md Remove unsound casting functions 2022-02-05 16:29:05 -08:00
reify.rs Shut up clippy. 2022-08-27 16:26:41 +08:00
tests.rs Move lib into global. 2022-11-10 11:49:10 +08:00
tokenizer.rs Move FloatWrapper into types. 2022-11-08 23:17:31 +08:00

Source Structure

Root Sources

Source file Description
lib.rs Crate root
engine.rs The scripting engine, defines the Engine type
tokenizer.rs Script tokenizer/lexer
parser.rs Script parser
optimizer.rs Script optimizer
reify.rs Utilities for making generic types concrete
tests.rs Unit tests (not integration tests, which are in the rhai/tests sub-directory)

Sub-Directories

Sub-directory Description
types Common data types (e.g. Dynamic, errors)
api Public API for the scripting engine
ast AST definition
module Support for modules
packages Pre-defined packages
func Support for function calls
eval Evaluation engine
serde Support for serde
bin Pre-built CLI binaries (e.g. rhai-run, rhai-repl)