rhai/src
2022-06-10 11:22:33 +08:00
..
api Fix builds. 2022-06-09 18:22:53 +08:00
ast Add null coalescing operator. 2022-06-10 11:22:33 +08:00
bin Allow initialization of EvalState tag and separate debugger state into separate variable. 2022-05-21 21:44:12 +08:00
eval Add null coalescing operator. 2022-06-10 11:22:33 +08:00
func Fix warnings. 2022-06-08 17:06:49 +08:00
module Refine data structures. 2022-05-07 15:54:44 +08:00
packages Check for missing docs. 2022-06-05 18:17:44 +08:00
serde use smartstring's deserializer to support non borrowed strings 2022-05-23 16:40:49 +02:00
types Strict mode in functions check for static modules. 2022-06-09 17:59:28 +08:00
engine.rs Allow initialization of EvalState tag and separate debugger state into separate variable. 2022-05-21 21:44:12 +08:00
lib.rs Fix warnings. 2022-06-08 17:06:49 +08:00
optimizer.rs Add null coalescing operator. 2022-06-10 11:22:33 +08:00
parser.rs Add null coalescing operator. 2022-06-10 11:22:33 +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 null coalescing operator. 2022-06-10 11:22:33 +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)