func NewState() *State {
	st := &State{
		opidx:      0,
		pc:         NewByteCode(),
		stack:      stack.New(5),
		markstack:  stack.New(5),
		framestack: stack.New(5),
		frames:     stack.New(5),
		vars:       make(Vars),
		warn:       os.Stderr,
		MaxLoopCount: 1000,
	}

	st.Pushmark()
	st.PushFrame()
	return st
}
func NewState() *State {
	st := &State{
		opidx:      0,
		pc:         NewByteCode(),
		stack:      stack.New(5),
		markstack:  stack.New(5),
		framestack: stack.New(5),
		frames:     stack.New(5),
		vars:       make(Vars),
		warn:       os.Stderr,
		MaxLoopCount: 1000,
	}

	st.Pushmark()
	st.PushFrame()
	return st
}
// NewState creates a new State struct