package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CompileWith sets the interpreter's compiler to driver d and config c.
New creates a new interpreter using the recipe r, service runner sr, options os, and output file ofile.
Options bundles the options os into one option.
SetMaxObjs sets the maximum number of object files the interpreter can create.
# Variables
ErrBadOp occurs if an interpreter is supplied an unknown opcode.
ErrBadOutput occurs if an interpreter is asked to output something that isn't compatible with its output spec.
ErrCompilerConfigNil occurs if an interpreter is supplied a nil compiler config.
ErrDriverNil occurs when the compiler tries to use the nil pointer as its single-compile driver.
ErrFileUnavailable occurs if an instruction specifies a file that has been consumed, or wasn't available.
ErrObjOverflow occurs if too many object files are created.
# Structs
Interpreter is an interpreter for compile recipes.
# Interfaces
Driver is the interface of things that can run compilers.
# Type aliases
Option is the type of options to the interpreter.