rhai/src
2022-07-26 14:28:54 +02:00
..
api fix(defs): compile errors 2022-07-26 14:28:54 +02:00
ast Keep module docs as one string. 2022-07-25 14:11:54 +08:00
bin Update rustyline to 10. 2022-07-17 18:49:12 +08:00
eval Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-07-20 21:09:03 +08:00
func Fix BLOB and string operations. 2022-07-20 21:17:21 +08:00
module Add FnNamespace methods. 2022-07-21 14:01:28 +08:00
packages Add unreachable comments. 2022-07-23 21:00:58 +08:00
serde Reduce usage of as_ref and as_mut. 2022-07-05 16:26:38 +08:00
types Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-07-20 21:06:36 +08:00
engine.rs chore: clippy fix needless_borrow 2022-07-20 21:16:35 +09:00
lib.rs chore: formatting 2022-07-26 14:18:43 +02:00
optimizer.rs Add unreachable comments. 2022-07-23 21:00:58 +08:00
parser.rs Add module documentation. 2022-07-25 13:40:23 +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 module documentation. 2022-07-25 13:40:23 +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)