[][src]Module inc::core

Core types shared by most of the program

An Expr is a single statement in the program. The parser returns a list of this type.

Since a vector of Expr is a very common type, its aliased to Expressions.

A Program is a list of expressions and the metadata along with it. This type is very useful for global transformations like closure conversions, inlining, interpretations and sub expression elimination.

Structs

Config

Control behavior and external interaction of the program.

Error

Custom error type for all of inc.

Expressions

Expressions wrap over Vec<T> so new traits can be defined on it

Program

All the expressions and the metadata

Enums

Expr

Abstract Syntax Tree for a single expression