Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
lyra-lsp
command
|
|
|
lyrac
command
Command lyrac is the Lyra compiler CLI.
|
Command lyrac is the Lyra compiler CLI. |
|
pkg
|
|
|
analyzer/captures
Package captures computes, for every lambda in a program, the bindings its body reads from an enclosing scope — its free variables.
|
Package captures computes, for every lambda in a program, the bindings its body reads from an enclosing scope — its free variables. |
|
analyzer/ownership
Package ownership computes where the backend must retain and release reference-counted ("managed") values so they are freed exactly once.
|
Package ownership computes where the backend must retain and release reference-counted ("managed") values so they are freed exactly once. |
|
backend
Package backend defines the contract between Lyra's front-end (a typed program from pkg/driver) and a code generator.
|
Package backend defines the contract between Lyra's front-end (a typed program from pkg/driver) and a code generator. |
|
backend/llvm
Package llvm is the LLVM IR backend for Lyra.
|
Package llvm is the LLVM IR backend for Lyra. |
|
cst
Package cst holds the small accessors every CST walk needs, so the cost and the hazards of reaching into tree-sitter live in one place rather than at hundreds of call sites.
|
Package cst holds the small accessors every CST walk needs, so the cost and the hazards of reaching into tree-sitter live in one place rather than at hundreds of call sites. |
|
docgen
Package docgen turns an analyzed program into per-module documentation.
|
Package docgen turns an analyzed program into per-module documentation. |
|
driver
Package driver is the single entry point to Lyra's front-end pipeline.
|
Package driver is the single entry point to Lyra's front-end pipeline. |
|
modules
Package modules resolves a program's import graph: it turns an entry file into the ordered list of source units a compile needs, following `import` statements transitively.
|
Package modules resolves a program's import graph: it turns an entry file into the ordered list of source units a compile needs, following `import` statements transitively. |
|
regex
Package regex implements Lyra's regular expression engine.
|
Package regex implements Lyra's regular expression engine. |
Click to show internal directories.
Click to hide internal directories.