rhai/src
2022-03-29 08:18:20 +08:00
..
api Remove Engine::custom_types. 2022-03-29 08:18:20 +08:00
ast Minor refactors. 2022-03-20 21:58:43 +08:00
bin Write JSON metadata to file for repl. 2022-03-26 18:19:42 +08:00
eval Minor refactor. 2022-03-27 21:53:50 +08:00
func Minor refactors. 2022-03-20 21:58:43 +08:00
module Remove Engine::custom_types. 2022-03-29 08:18:20 +08:00
packages Fix no-std build. 2022-03-28 12:53:49 +08:00
serde Reverse Box<[...]> to Vec. 2022-03-06 16:37:27 +08:00
types Remove Engine::custom_types. 2022-03-29 08:18:20 +08:00
engine.rs Remove Engine::custom_types. 2022-03-29 08:18:20 +08:00
lib.rs Minor refactor. 2022-03-09 09:25:55 +08:00
optimizer.rs Use global module constants in optimization. 2022-03-28 12:53:52 +08:00
parser.rs Reverse Box<[...]> to Vec. 2022-03-06 16:37:27 +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 Use SmartString for comments. 2022-03-25 08:52:53 +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)