rhai/src
2022-09-12 22:40:52 +08:00
..
api Add state to custom syntax. 2022-09-12 12:03:32 +08:00
ast Add state to custom syntax. 2022-09-12 12:03:32 +08:00
bin Make fast operators the default. 2022-09-03 22:07:36 +08:00
eval Use is_absent_and_set. 2022-09-12 22:40:52 +08:00
func Use is_absent_and_set. 2022-09-12 22:40:52 +08:00
module Fix feature build. 2022-09-10 13:49:21 +08:00
packages Use caching for fast operators. 2022-09-03 11:27:13 +08:00
serde Use a bloom filter. 2022-09-08 17:49:37 +08:00
types Use is_absent_and_set. 2022-09-12 22:40:52 +08:00
engine.rs Shut up clippy. 2022-08-27 16:26:41 +08:00
lib.rs Remove extra clippy lints. 2022-08-27 16:29:39 +08:00
optimizer.rs Change fast_ops to options. 2022-09-03 15:15:42 +08:00
parser.rs Add state to custom syntax. 2022-09-12 12:03:32 +08:00
README.md Remove unsound casting functions 2022-02-05 16:29:05 -08:00
reify.rs Shut up clippy. 2022-08-27 16:26:41 +08:00
tests.rs Pack Scope data more tightly. 2022-02-28 14:00:55 +08:00
tokenizer.rs Shut up clippy. 2022-08-29 14:27:05 +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)