rhai/src
2022-08-21 17:35:37 +08:00
..
api Add parameter to debugger init. 2022-08-20 15:04:17 +08:00
ast Fix builds. 2022-08-18 21:16:42 +08:00
bin Add parameter to debugger init. 2022-08-20 15:04:17 +08:00
eval Add parameter to debugger init. 2022-08-20 15:04:17 +08:00
func Use ImmutableString for AST. 2022-08-13 18:40:14 +08:00
module Update is_empty docs. 2022-08-14 14:39:30 +08:00
packages Fix tests. 2022-08-18 21:36:00 +08:00
serde Fix builds. 2022-08-18 21:16:42 +08:00
types Fine tune error display. 2022-08-21 17:35:37 +08:00
engine.rs Reduce API changes. 2022-08-19 13:21:47 +08:00
lib.rs Fix tests. 2022-08-09 17:24:24 +08:00
optimizer.rs Revise strings interning. 2022-08-12 16:34:57 +08:00
parser.rs Fix builds. 2022-08-18 21:16:42 +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 missing reserved tokens. 2022-08-20 21:55:00 +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)