Go-Mini is a Go-like scripting engine with a bytecode-first runtime.
- Compile source code to
go-mini-bytecode - Run prepared programs without AST on the main runtime path
- Generate schema-only FFI bindings with
cmd/ffigen
go install gopkg.d7z.net/go-mini/cmd/exec@latest
go install gopkg.d7z.net/go-mini/cmd/ffigen@latestRun a script:
go run ./cmd/exec -run script.goCompile to bytecode:
go run ./cmd/exec -o script.json script.goRun bytecode:
go run ./cmd/exec -bytecode script.jsonGenerate FFI bindings:
go run ./cmd/ffigen -pkg orderlib -out order_ffigen.go interface.goGOCACHE=/tmp/go-build-cache go test ./core/runtime
GOCACHE=/tmp/go-build-cache go test ./core/e2e/...
GOCACHE=/tmp/go-build-cache go test ./...This project is licensed under the MIT License. See LICENSE.