rhai/src
2022-08-23 16:36:43 +02:00
..
api Fix feature builds. 2022-08-22 22:28:27 +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 fallible type iterators. 2022-08-22 13:10:32 +08:00
func Add fallible type iterators. 2022-08-22 13:10:32 +08:00
module Fix feature builds. 2022-08-22 22:28:27 +08:00
packages feat(array): add an empty getter for arrays. 2022-08-23 16:36:43 +02:00
serde Fix builds. 2022-08-18 21:16:42 +08:00
types Refactor CustomType to struct CustomTypeInfo. 2022-08-22 20:52:52 +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)