rhai/src
2022-10-24 23:33:24 +08:00
..
api Reduce unnecessary generics. 2022-10-20 15:31:57 +08:00
ast Reduce unnecessary generics. 2022-10-20 15:31:57 +08:00
bin Refactor. 2022-10-10 16:46:35 +08:00
eval Reduce unnecessary generics. 2022-10-20 15:31:57 +08:00
func Reduce unnecessary generics. 2022-10-20 15:31:57 +08:00
module Streamline code. 2022-10-14 14:04:54 +08:00
packages Check data size at built-in. 2022-10-20 11:38:54 +08:00
serde no_std = no_time. 2022-10-15 15:11:51 +08:00
types no_std = no_time. 2022-10-15 15:11:51 +08:00
config.rs Use template to create config.rs. 2022-10-15 12:04:14 +08:00
engine.rs Minor code restructure. 2022-10-16 11:35:21 +08:00
lib.rs no_std = no_time. 2022-10-15 15:11:51 +08:00
optimizer.rs Fix builds. 2022-10-21 19:02:40 +08:00
parser.rs Fill variable index on captured variables in closures. 2022-10-24 23:33:24 +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 Use tokens to speed up function name lookup. 2022-09-25 23:03:18 +08:00
tokenizer.rs Refine inlining. 2022-09-28 12:06:22 +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)