rhai/src
Stephen Chung fc4c8731f0 Add !in.
2022-11-30 14:11:09 +08:00
..
api Revise documentation. 2022-11-29 15:50:58 +08:00
ast Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
bin Refine error message. 2022-11-27 22:35:17 +08:00
config Use SusLock to hold pre-calculated indexer hashes. 2022-11-25 11:49:00 +08:00
eval Revise documentation. 2022-11-29 15:50:58 +08:00
func Revise documentation. 2022-11-29 15:50:58 +08:00
module Refine #[must_use] 2022-11-28 16:36:40 +08:00
packages Use as_deref(). 2022-11-25 23:03:20 +08:00
serde Use as_deref(). 2022-11-25 23:03:20 +08:00
types Revise documentation. 2022-11-29 15:50:58 +08:00
engine.rs Fix bug. 2022-11-27 17:21:07 +08:00
lib.rs Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
optimizer.rs Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
parser.rs Add !in. 2022-11-30 14:11:09 +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 Move lib into global. 2022-11-10 11:49:10 +08:00
tokenizer.rs Add !in. 2022-11-30 14:11:09 +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)