Crate ampc

Source
Expand description

The Amp compiler interface for Rust.

Provides the capabilities to compile Amp programs without accessing the command line.

Modules§

clif
The Cranelift backend for the Amp compiler.
codemap
Utilities for mapping source code to intermediate representations.
diag
Diagnostics for the Amp compiler.
sema
The semantic analysis phase.
syntax
The scanner, parser and abstract syntax trees for Amp.
types
value
Constant values in Amp.

Structs§

Context
A shared context used to communicate with Amp’s compiler interface.