rhai/src
2022-11-17 18:05:52 +08:00
..
api Reduce call to Module::is_empty. 2022-11-10 23:57:46 +08:00
ast Reduce call to Module::is_empty. 2022-11-10 23:57:46 +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 Cleanup. 2022-11-10 14:25:48 +08:00
func Export CallableFunction. 2022-11-17 18:05:52 +08:00
module Fix docs. 2022-11-11 16:46:28 +08:00
packages Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
serde Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
types Reduce call to Module::is_empty. 2022-11-10 23:57:46 +08:00
engine.rs Clean up types. 2022-11-08 15:01:40 +08:00
lib.rs Export CallableFunction. 2022-11-17 18:05:52 +08:00
optimizer.rs Fix premature promotion in optimizer. 2022-11-13 21:05:14 +08:00
parser.rs Move lib into global. 2022-11-10 11:49:10 +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)