rhai/src
2022-09-22 17:20:57 +08:00
..
api Add types to scope variable definitions. 2022-09-17 22:31:38 +08:00
ast Simplify to calc_fn_hash. 2022-09-21 11:46:23 +08:00
bin Make fast operators the default. 2022-09-03 22:07:36 +08:00
eval Fix bug. 2022-09-21 19:06:18 +08:00
func Do not search for global functions if scripted. 2022-09-21 18:30:12 +08:00
module Do not search for global functions if scripted. 2022-09-21 18:30:12 +08:00
packages Revert "Enable capacity on packages." 2022-09-14 15:17:36 +08:00
serde Simplify to calc_fn_hash. 2022-09-21 11:46:23 +08:00
types Fix bloom filter on 32-bit arch. 2022-09-15 21:06:04 +08:00
engine.rs Fix no_function. 2022-09-13 21:12:44 +08:00
lib.rs Simplify to calc_fn_hash. 2022-09-21 11:46:23 +08:00
optimizer.rs Do not search for global functions if scripted. 2022-09-21 18:30:12 +08:00
parser.rs Simplify to calc_fn_hash. 2022-09-21 11:46:23 +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 Fix test on 32-bit architectures. 2022-09-22 17:20:57 +08:00
tokenizer.rs Use SmartString. 2022-09-14 12:11:18 +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)