mirror of https://github.com/Hilbis/Hilbish
13 lines
246 B
Go
13 lines
246 B
Go
|
//go:build midnight
|
||
|
package moonlight
|
||
|
|
||
|
func (mlr *Runtime) DoString(code string) (Value, error) {
|
||
|
err := mlr.state.DoString(code)
|
||
|
|
||
|
return NilValue, err
|
||
|
}
|
||
|
|
||
|
func (mlr *Runtime) DoFile(filename string) error {
|
||
|
return mlr.state.DoFile(filename)
|
||
|
}
|