rhai/src
Stephen Chung 07a61a9562 Fix build.
2022-02-25 09:00:15 +08:00
..
api Minor housekeeping. 2022-02-24 10:36:20 +08:00
ast Use boxed slices. 2022-02-25 08:38:03 +08:00
bin Doc fixup. 2022-02-15 19:56:42 +08:00
eval Minor housekeeping. 2022-02-24 10:36:20 +08:00
func Minor housekeeping. 2022-02-24 10:36:20 +08:00
module Fix build. 2022-02-25 09:00:15 +08:00
packages Improve string parameters. 2022-02-24 13:39:10 +08:00
serde Simplify using .. 2022-02-08 09:02:15 +08:00
types Improve string parameters. 2022-02-24 13:39:10 +08:00
engine.rs Simplify using .. 2022-02-08 09:02:15 +08:00
lib.rs Revise on_def_var API. 2022-02-15 10:56:05 +08:00
optimizer.rs Optimize variable shadowing. 2022-02-18 15:04:46 +08:00
parser.rs Fix builds. 2022-02-19 12:26:17 +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 Reduce size of Stmt. 2022-02-16 17:51:14 +08:00
tokenizer.rs Deprecate Position::new_const. 2022-02-24 09:08: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)