rhai/src
2022-01-23 21:09:37 +08:00
..
api Add lifetimes to GlobalRuntimeState and EvalState for future needs. 2022-01-22 17:48:07 +08:00
ast Fix bug with optimizing op-assignment operators. 2022-01-23 21:09:37 +08:00
bin Add strict command to rhai-repl. 2022-01-19 14:02:55 +08:00
eval Add lifetimes to GlobalRuntimeState and EvalState for future needs. 2022-01-22 17:48:07 +08:00
func Add lifetimes to GlobalRuntimeState and EvalState for future needs. 2022-01-22 17:48:07 +08:00
module Add lifetimes to GlobalRuntimeState and EvalState for future needs. 2022-01-22 17:48:07 +08:00
packages Fix builds. 2022-01-22 17:27:18 +08:00
serde Engine::gen_fn_signatures enumerates non-standard external packages. 2022-01-17 23:15:22 +08:00
types Refine types display. 2022-01-17 21:51:04 +08:00
engine.rs Refine types display. 2022-01-17 21:51:04 +08:00
lib.rs Fix UINT -> UNSIGNED_INT. 2022-01-13 22:51:56 +08:00
optimizer.rs Fix bug with optimizing op-assignment operators. 2022-01-23 21:09:37 +08:00
parser.rs Use target_family for wasm. 2022-01-12 08:12:28 +08:00
README.md Fix builds. 2022-01-07 12:19:01 +08:00
tests.rs Replace Cow<str> in Scope with SmartString. 2022-01-15 11:26:43 +08:00
tokenizer.rs Fix bug with optimizing op-assignment operators. 2022-01-23 21:09:37 +08:00
unsafe.rs Replace Cow<str> in Scope with SmartString. 2022-01-15 11:26:43 +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
unsafe.rs unsafe functions
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)