rhai/src
2023-03-23 13:37:10 +08:00
..
api Remove indirection. 2023-03-23 13:37:10 +08:00
ast Add typed methods definition. 2023-03-22 16:05:25 +08:00
bin Update rustyline. 2023-02-20 10:06:26 +08:00
config Use SusLock to hold pre-calculated indexer hashes. 2022-11-25 11:49:00 +08:00
eval Remove indirection. 2023-03-23 13:37:10 +08:00
func Remove indirection. 2023-03-23 13:37:10 +08:00
module Remove indirection. 2023-03-23 13:37:10 +08:00
packages Remove indirection. 2023-03-23 13:37:10 +08:00
serde Remove indirection. 2023-03-23 13:37:10 +08:00
types Fine tune table-driven tokenizing. 2023-03-15 17:22:11 +08:00
engine.rs Remove indirection. 2023-03-23 13:37:10 +08:00
lib.rs Fix builds. 2023-03-22 16:16:33 +08:00
optimizer.rs Remove indirection. 2023-03-23 13:37:10 +08:00
parser.rs Remove indirection. 2023-03-23 13:37:10 +08:00
README.md Move tools out of src. 2023-03-17 07:09:56 +08:00
reify.rs Improve reify! syntax. 2022-12-09 16:41:01 +08:00
restore.rs Move restore up one level. 2022-12-11 21:50:47 +08:00
tests.rs Fine tune Engine size. 2023-03-07 16:52:37 +08:00
tokenizer.rs Remove indirection. 2023-03-23 13:37:10 +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)