rhai/src
2022-04-23 13:37:08 +08:00
..
api Add Engine::eval_statements_raw. 2022-04-23 13:37:08 +08:00
ast Add Token::Unit. 2022-04-21 10:04:46 +08:00
bin Replace Scope display code. 2022-04-23 11:53:34 +08:00
eval Simplify switch condition. 2022-04-19 16:20:43 +08:00
func Fix builds. 2022-04-18 23:24:08 +08:00
module Remove Clone from FileModuleResolver. 2022-04-23 12:49:03 +08:00
packages Add to_json for maps. 2022-04-21 12:15:21 +08:00
serde Unused parameters naming. 2022-04-11 16:29:16 +08:00
types Fix bug in Scope cloning. 2022-04-23 11:53:17 +08:00
engine.rs Unused parameters naming. 2022-04-11 16:29:16 +08:00
lib.rs Add to_json for maps. 2022-04-21 12:15:21 +08:00
optimizer.rs Simplify switch condition. 2022-04-19 16:20:43 +08:00
parser.rs Allow variables in scope for strict vars. 2022-04-22 12:12:36 +08:00
README.md Remove unsound casting functions 2022-02-05 16:29:05 -08:00
reify.rs Doc fixes. 2022-02-10 08:31:41 +08:00
tests.rs Pack Scope data more tightly. 2022-02-28 14:00:55 +08:00
tokenizer.rs Add Token::Unit. 2022-04-21 10:04:46 +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)