rhai/src
2022-12-03 11:23:34 +08:00
..
api Use constant booleans for trait. 2022-12-03 11:23:34 +08:00
ast Merge multiple doc-comment lines into one. 2022-12-01 14:35:45 +08:00
bin Capture global module docs in JSON. 2022-12-01 23:35:26 +08:00
config Use SusLock to hold pre-calculated indexer hashes. 2022-11-25 11:49:00 +08:00
eval code cleanup. 2022-12-01 14:24:08 +08:00
func Use constant booleans for trait. 2022-12-03 11:23:34 +08:00
module Use constant booleans for trait. 2022-12-03 11:23:34 +08:00
packages Merge multiple doc-comment lines into one. 2022-12-01 14:35:45 +08:00
serde Capture global module docs in JSON. 2022-12-01 23:35:26 +08:00
types code cleanup. 2022-12-01 14:24:08 +08:00
engine.rs Add short-cut to !. 2022-11-30 14:11:57 +08:00
lib.rs Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
optimizer.rs Add short-cut to !. 2022-11-30 14:11:57 +08:00
parser.rs Process block comments better. 2022-12-02 14:06:31 +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 Process block comments better. 2022-12-02 14:06: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)