Expand description
Lumen Compiler
Transforms Lumen source files (.lm, .lumen, .lm.md, .lumen.md) into LIR modules.
Modules§
- compiler
- diagnostics
- Rich error diagnostics with source snippets, colors, and suggestions.
- markdown
Enums§
Functions§
- compile
- compile_
raw - Compile a
.lmraw Lumen source file to a LIR module. This skips markdown extraction and processes the source directly. - compile_
raw_ with_ imports - Compile raw .lm source with access to external modules for import resolution.
- compile_
with_ imports - Compile with access to external modules for import resolution.
- format_
error - Format a compile error with rich diagnostics (colors, source snippets, suggestions).