rhai/src
2022-05-09 14:20:33 +08:00
..
api Avoid unnecessary allocations. 2022-05-07 16:29:20 +08:00
ast Mark some types as non_exhaustive. 2022-05-03 21:55:08 +08:00
bin Use tag for debugger state. 2022-05-03 21:55:01 +08:00
eval Refine data structures. 2022-05-07 15:54:44 +08:00
func Refine data structures. 2022-05-07 15:54:44 +08:00
module Refine data structures. 2022-05-07 15:54:44 +08:00
packages Add to_int for decimal. 2022-05-09 14:20:33 +08:00
serde Unused parameters naming. 2022-04-11 16:29:16 +08:00
types Deprecate FnPtr::num_curried. 2022-05-05 22:30:55 +08:00
engine.rs Refine data structures. 2022-05-07 15:54:44 +08:00
lib.rs Refine data structures. 2022-05-07 15:54:44 +08:00
optimizer.rs Mark some types as non_exhaustive. 2022-05-03 21:55:08 +08:00
parser.rs Add custom state. 2022-05-02 00:03:45 +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 Start/End to DebuggerEvent. 2022-04-26 16:36:24 +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)