rhai/src
2022-01-30 17:27:13 +08:00
..
api Gate dead code for no_module. 2022-01-29 11:09:43 +08:00
ast Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
bin Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
eval Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
func Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
module Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
packages Gate dead code for no_module. 2022-01-29 11:09:43 +08:00
serde Gate dead code for no_module. 2022-01-29 11:09:43 +08:00
types Refactor and add state to debugger. 2022-01-28 18:59:18 +08:00
engine.rs Gate dead code for no_module. 2022-01-29 11:09:43 +08:00
lib.rs Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
optimizer.rs Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +08:00
parser.rs Fix encapsulated environment in module functions. 2022-01-30 17:27:13 +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 Add breaking at line. 2022-01-27 16:58:11 +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)