rhai/src
Stephen Chung f323644e20 Fix tests.
2022-08-09 17:24:24 +08:00
..
api Fix tests. 2022-08-09 17:24:24 +08:00
ast Fix bug in constant interpolated string. 2022-07-29 10:49:03 +08:00
bin Clean up clippy. 2022-07-27 16:04:24 +08:00
eval Add function pointer short-hand. 2022-08-05 23:30:44 +08:00
func Clean up more clippy. 2022-07-27 18:04:59 +08:00
module Clean up more clippy. 2022-07-27 18:04:59 +08:00
packages Add docs on timestamp. 2022-07-31 13:23:15 +08:00
serde Fix tests. 2022-08-05 23:45:40 +08:00
types Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
engine.rs Clean up more clippy. 2022-07-27 18:04:59 +08:00
lib.rs Fix tests. 2022-08-09 17:24:24 +08:00
optimizer.rs Fix formatting. 2022-07-29 11:10:20 +08:00
parser.rs Fix tests. 2022-08-05 23:45:40 +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 Gate definitions with internals feature. 2022-07-28 17:58: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)