aboutsummaryrefslogtreecommitdiff
path: root/cmd/eval/main.go
blob: 11967acbdeacb39426f667bde4a25f09642ad7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
package main

import "dim13.org/j1"

func main() {
	vm := new(j1.J1)
	if err := vm.LoadFile("testdata/j1.bin"); err != nil {
		panic(err)
	}
	vm.Eval()
}