Package-level declarations

Types

Link copied to clipboard
data class CompilationError(val line: Long, val column: Long, val message: String)
Link copied to clipboard
sealed class CompilationResult
Link copied to clipboard
class Env(val parent: Env? = null)

A lexically-scoped symbol table that maps MiniKotlin source names to their generated Java names and VarType.

Link copied to clipboard
sealed class ExecutionResult
Link copied to clipboard

Compiles MiniKotlin expression trees into Java continuation-passing style.

Link copied to clipboard
Link copied to clipboard

Top-level compiler that translates a MiniKotlin parse tree into a Java source file expressed in continuation-passing style (CPS).

Link copied to clipboard

Monotonically increasing counters used by both MiniKotlinCompiler and ExpressionCompiler to generate names that are unique within a single compilation unit.

Link copied to clipboard

Distinguishes how a binding was introduced into scope.