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

Structs

Compiler

Compiler is a bytecode generator that walks an CST 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.

Functions

gen

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