shad-go/forth/eval.go
2022-02-10 22:06:57 +00:00

19 lines
355 B
Go

//go:build !solution
// +build !solution
package main
type Evaluator struct {
}
// NewEvaluator creates evaluator.
func NewEvaluator() *Evaluator {
return &Evaluator{}
}
// Process evaluates sequence of words or definition.
//
// Returns resulting stack state and an error.
func (e *Evaluator) Process(row string) ([]int, error) {
return nil, nil
}