Skip to main content

Crate runec

Crate runec 

Source

Modules§

bytecode
compiler
diagnostic_messages
diagnostics
error
lexer
lints
Static lint passes complementary to the pointer checker.
parser
pointer
pointer_checker
symbol
symloader
Loads pack files and populates the SymbolRegistry.
token
trigger_table
Single source of truth for RuneScript trigger metadata.
typechecker
types
writer

Functions§

compile
Compile scripts and write output. When lint is true, also run lint passes (unused locals, unreachable code) after code generation.
compile_memory
Compile scripts and write output. When lint is true, also run lint passes (unused locals, unreachable code) after code generation.
lint
Run all analysis passes (parse, type-check, codegen, pointer-check, lints) without writing output. Useful for editor tooling and CI lint gates.