rhai/src
2023-02-09 22:09:16 +08:00
..
api Fix diagnostic messages. 2023-01-30 13:03:47 +08:00
ast Change fold to for. 2022-12-29 17:51:27 +08:00
bin Fix diagnostic messages. 2023-01-30 13:03:47 +08:00
config Use SusLock to hold pre-calculated indexer hashes. 2022-11-25 11:49:00 +08:00
eval Fix diagnostic messages. 2023-01-30 13:03:47 +08:00
func Fix bug. 2023-02-03 15:11:40 +08:00
module Use remove for flags. 2023-02-03 15:58:07 +08:00
packages Add max/min. 2023-02-09 22:09:16 +08:00
serde Satisfy clippy. 2022-12-22 17:34:58 +08:00
types Fix diagnostic messages. 2023-01-30 13:03:47 +08:00
engine.rs Refine hashing. 2023-01-31 16:37:50 +08:00
lib.rs Remove macro_use in types. 2023-01-06 15:43:53 +08:00
optimizer.rs Use iterators. 2023-01-31 19:44:46 +08:00
parser.rs Use remove for flags. 2023-02-03 15:58:07 +08:00
README.md Remove unsound casting functions 2022-02-05 16:29:05 -08:00
reify.rs Improve reify! syntax. 2022-12-09 16:41:01 +08:00
restore.rs Move restore up one level. 2022-12-11 21:50:47 +08:00
tests.rs Allow exporting function pointers from modules. 2022-12-12 18:31:02 +08:00
tokenizer.rs Remove Token::NONE. 2023-01-08 21:15:16 +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)