rhai/src
2022-08-22 00:15:00 +08:00
..
api Fix generic parameters. 2022-08-22 00:15:00 +08:00
ast Fix builds. 2022-08-18 21:16:42 +08:00
bin Use String::new() for empty strings. 2022-08-21 17:35:44 +08:00
eval Add parameter to debugger init. 2022-08-20 15:04:17 +08:00
func Allow registration of getters/setters/indexers with NativeCallContext. 2022-08-21 22:59:49 +08:00
module Fix generic parameters. 2022-08-22 00:15:00 +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 Use String::new() for empty strings. 2022-08-21 17:35:44 +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)