Skip to main content

Crate lutra_compiler

Crate lutra_compiler 

Source

Re-exports§

pub use codespan::Span;

Modules§

_lexer
Internal implementation detail, do not use.
codespan
error
ir
pr
PR, or “Parser Representation” is an AST representation of parsed source code. It takes LR tokens and converts them into a more structured form which understands expressions, such as tuples & functions.
printer
Printer that converts AST to Lutra source code.
rr

Structs§

CheckParams
DiscoverParams
Project
Project, checked.
SourceTree
Sources used to resolve the project. All paths are relative to the project root.

Enums§

ProgramFormat

Functions§

_test_compile_main
_test_compile_ty
bytecode_program
check
check_overlay
compile
discover
format
inline
project_to_types