This commit is contained in:
Ian Gulliver
2021-11-16 21:12:32 -10:00
parent 6449d4762a
commit b8b13680ad

View File

@@ -6,8 +6,8 @@ type Program struct {
Functions []*Function `yaml:"functions"` Functions []*Function `yaml:"functions"`
} }
type Function []*Operation type Function []*Instruction
type Operation []string type Instruction []string
func NewProgramFromBytes(in []byte) (*Program, error) { func NewProgramFromBytes(in []byte) (*Program, error) {
prog := &Program{} prog := &Program{}