rhai/src
Gary Pennington ee6b6d69dd persist in using SeqCst
We probably don't need to, but let's keep the change minimal...
2023-06-14 17:03:56 +01:00
..
api Fix custom syntax bug. 2023-04-25 23:14:08 +08:00
ast Use .take instead of mem::take(). 2023-04-21 10:20:19 +08:00
bin Update rustyline. 2023-02-20 10:06:26 +08:00
config persist in using SeqCst 2023-06-14 17:03:56 +01:00
eval Use .take instead of mem::take(). 2023-04-21 10:20:19 +08:00
func Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
module Code refactor. 2023-04-28 15:05:31 +08:00
packages Code refactor. 2023-04-28 15:05:31 +08:00
serde Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
types Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
defer.rs Simplify match. 2023-04-05 23:15:55 +08:00
engine.rs Remove indirection. 2023-03-23 13:37:10 +08:00
lib.rs Rename auto_restore! to defer! 2023-03-25 21:13:34 +08:00
optimizer.rs Code refactor. 2023-04-28 15:05:31 +08:00
parser.rs Rewrite combo chains in parser. 2023-04-23 00:00:55 +08:00
README.md Add info into README's. 2023-04-12 12:09:14 +08:00
reify.rs Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
tests.rs Fine tune Engine size. 2023-03-07 16:52:37 +08:00
tokenizer.rs Fix reverse lookup table for keywords 2023-04-25 22:33:29 +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
defer.rs Utilities for deferred clean-up of resources
reify.rs Utilities for making generic types concrete
tests.rs Unit tests (not integration tests, which are in the main tests sub-directory)

Sub-Directories

Sub-directory Description
config Configuration
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 Registering and calling functions (native Rust and script-defined)
eval AST evaluation
serde Support for serde and metadata
bin Pre-built CLI binaries