Skip to content

Files

Latest commit

72a8fe0 · Jan 5, 2025

History

History
This branch is 1 commit behind rhaiscript/rhai:main.

src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 31, 2024
Mar 19, 2024
Jul 29, 2024
Oct 2, 2024
Dec 31, 2024
Jan 5, 2025
Dec 31, 2024
Dec 31, 2024
Sep 27, 2024
Jul 29, 2024
Apr 12, 2023
Aug 30, 2023
Sep 25, 2024
Jan 5, 2025
Apr 3, 2024
Dec 31, 2024
Sep 6, 2023
Mar 24, 2024
Dec 31, 2024

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