Documentation ¶
Index ¶
- func CompileAndRun(modules *objects.ModuleMap, data []byte, inputFile string) (err error)
- func CompileOnly(modules *objects.ModuleMap, data []byte, inputFile, outputFile string) (err error)
- func Run(options *Options)
- func RunCompiled(modules *objects.ModuleMap, data []byte) (err error)
- func RunREPL(modules *objects.ModuleMap, in io.Reader, out io.Writer)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileAndRun ¶ added in v1.18.0
CompileAndRun compiles the source code and executes it.
func CompileOnly ¶ added in v1.18.0
CompileOnly compiles the source code and writes the compiled binary into outputFile.
func RunCompiled ¶ added in v1.18.0
RunCompiled reads the compiled binary from file and executes it.
Types ¶
Click to show internal directories.
Click to hide internal directories.