rhai/src
2022-11-04 21:42:57 +08:00
..
api Refactor is_anonymous. 2022-11-03 12:00:56 +08:00
ast Fix full optimization. 2022-10-30 23:33:44 +08:00
bin Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
config Minor stylistic fixes. 2022-11-04 21:22:31 +08:00
eval Code cleanup. 2022-10-30 22:16:09 +08:00
func Fix no_function. 2022-11-04 21:42:57 +08:00
module Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
packages Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
serde no_std = no_time. 2022-10-15 15:11:51 +08:00
types Refactor is_anonymous. 2022-11-03 12:00:56 +08:00
engine.rs Fix tests. 2022-10-29 12:56:35 +08:00
lib.rs remove unneeded feature 2022-11-01 01:01:04 +09:00
optimizer.rs Fix full optimization. 2022-10-30 23:33:44 +08:00
parser.rs Code cleanup. 2022-10-30 18:43:18 +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 Fix data size. 2022-11-04 19:18:56 +08:00
tokenizer.rs Code cleanup. 2022-10-30 22:16: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)