shad-go/forth/eval.go

19 lines
335 B
Go
Raw Normal View History

2022-02-10 22:06:57 +00:00
//go:build !solution
2021-02-18 20:13:55 +00:00
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
}