compiler

package
v0.0.0-...-9034458 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Calls  call.Compiler
	Output io.Writer
}

func (Config) Compile

func (cfg Config) Compile(src S.Statements) (ret *M.Model, err error)

Compile script statements into a "model", a form usable by the runtime.

type MemoryResult

type MemoryResult struct {
	Model *M.Model
	Calls call.MarkerStorage
}

func Compile

func Compile(out io.Writer, src S.Statements) (res MemoryResult, err error)

Directories

Path Synopsis
Package Model provides a post-compiled representation of the scripts.
Package Model provides a post-compiled representation of the scripts.
package xmodel provides a post-compiled representation of the scripts.
package xmodel provides a post-compiled representation of the scripts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL