rhai/src
Stephen Chung 2474c1fec1 Fix bug.
2023-06-27 17:14:18 +08:00
..
api Use try_cast_raw. 2023-05-19 13:29:51 +08:00
ast Faster processing of this pointer. 2023-05-07 22:25:01 +08:00
bin Update rustyline. 2023-02-20 10:06:26 +08:00
config Fix formatting. 2023-06-15 10:34:54 +08:00
eval Refine this processing. 2023-05-10 23:07:37 +08:00
func Fix bug. 2023-06-27 17:14:18 +08:00
module Code refactor. 2023-04-28 15:05:31 +08:00
packages Add take function. 2023-05-13 09:31:57 +08:00
serde Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
types Remove unnecessary gates. 2023-06-27 16:53:21 +08:00
defer.rs Simplify match. 2023-04-05 23:15:55 +08:00
engine.rs Faster processing of this pointer. 2023-05-07 22:25:01 +08:00
lib.rs Rename auto_restore! to defer! 2023-03-25 21:13:34 +08:00
optimizer.rs Faster processing of this pointer. 2023-05-07 22:25:01 +08:00
parser.rs Faster processing of this pointer. 2023-05-07 22:25:01 +08:00
README.md Add info into README's. 2023-04-12 12:09:14 +08:00
reify.rs Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
tests.rs Fine tune Engine size. 2023-03-07 16:52:37 +08:00
tokenizer.rs Fix reverse lookup table for keywords 2023-04-25 22:33:29 +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
defer.rs Utilities for deferred clean-up of resources
reify.rs Utilities for making generic types concrete
tests.rs Unit tests (not integration tests, which are in the main tests sub-directory)

Sub-Directories

Sub-directory Description
config Configuration
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 Registering and calling functions (native Rust and script-defined)
eval AST evaluation
serde Support for serde and metadata
bin Pre-built CLI binaries