Crate roblox_rs_core

Crate roblox_rs_core 

Source
Expand description

Core library for the roblox-rs compiler.

This crate is responsible for translating Rust code to Luau for the Roblox platform.

Re-exports§

pub use compiler::compile;
pub use compiler::CompileOptions;
pub use error::Error;
pub use error::Result;
pub use crate::macros::*;

Modules§

ast
Abstract Syntax Tree (AST) definitions and utilities.
compiler
Core compiler functionality for roblox-rs-core.
error
Error handling for roblox-rs-core.
luau
Luau code generation and utilities.
macros
Macros to help with Luau transpilation
utils
Utility functions for roblox-rs-core.

Macros§

luau_impl
Marks code that has a special Luau implementation
luau_only
Marks code that should only be included in Luau output
rust_only
Marks code that should only be included in Rust output

Constants§

VERSION
Current version of the crate