[][src]Module passerine::compiler::gen

Structs

Compiler

Compiler is a bytecode generator that walks an AST and produces (unoptimized) Bytecode. There are plans to add a bytecode optimizer in the future. Note that this struct should not be controlled manually, use the gen function instead.

Local

Represents a local when compiling.

Enums

Captured

Functions

gen

Simple function that generates unoptimized bytecode from an AST. Exposes the functionality of the Compiler.