Structs§
- Cairo
Program - The casm program representation.
- Cairo
Program Debug Info - The debug information of a compilation from Sierra to casm.
- Const
Segment - The data for a single segment.
- Consts
Info - The information about the constants used in the program.
- Invoke
Statement Debug Info - Additional debug information for an invoke Sierra statement.
- Return
Statement Debug Info - Additional debug information for a return Sierra statement.
- Sierra
Statement Debug Info - The debug information of a compilation from Sierra to casm.
- Sierra
ToCasm Config - Configuration for the Sierra to CASM compilation.
Enums§
- Compilation
Error - Statement
Kind Debug Info - Additional debug information for a Sierra statement, depending on its kind (invoke/return/dummy).
Functions§
- check_
basic_ structure - Ensure the basic structure of the invocation is the same as the library function.
- compile
- Compiles
program
from Sierra to CASM usingmetadata
for information regarding AP changes and gas usage, and config additional compilation flavours. - validate_
metadata - Runs basic validations on the given metadata.