Expand description
luaux — a compiler for LuauX, JSX-style markup for Luau.
See PLAN.md for architecture and PROPOSAL.md for syntax and semantics.
Re-exports§
pub use backend::Backend;pub use backend::Vide;pub use compile::compile;pub use compile::compile_verified;pub use compile::CompileError;pub use config::Config;pub use config::ConfigError;pub use lexer::tokenize;pub use lexer::LexError;pub use lexer::Token;pub use lexer::TokenKind;pub use markup_scan::find_luaux_sites;pub use markup_scan::LuauxSite;
Modules§
- backend
- Code generation backends.
- compile
- Compiling a
.luauxsource to.luau. - config
luaux.toml— element and property aliases (PLAN.md §8).- imports
- Supplying what generated code needs, without emitting a single
require. - lexer
- Luau lexer.
- lint
- Checks on the Luau inside LuauX expressions (PROPOSAL.md Rules).
- markup
- markup_
scan - Deciding whether a
<opens LuauX or is a comparison operator. - resolve
- Deciding whether a tag is a Roblox class or a user component (PLAN.md §3.1).
- roblox
- Roblox class knowledge, from the API dump.