Sign inSign up

eunts/minigo

By eunts

•Updated over 5 years ago

Image
0

1.4K

eunts/minigo repository overview

⁠minigo Actions Status Codecov GoDoc go-report

A mini golang interpreter based on yaegi-template⁠ and yaegi⁠.

⁠Usage

#!/usr/bin/env minigo
println("Hello World")

Note that minigo comes with a go runtime, you don't have to install go!

⁠Use docker!

#!/usr/bin/env -S docker run -ti -v ${PWD}:/app/ -w /app --rm eunts/minigo:latest
println("Hello World")

⁠Installation

Download and install from the Relases Page⁠. Or compile it yourself using go

⁠Importing

You can import other packages by specifying $GOPATH and placing them in $GOPATH/src.
However yaegi⁠ is (currently) limited in functionality so don't expect all packages are working.

Tag summary

Content type

Image

Digest

Size

19.5 MB

Last updated

over 5 years ago

docker pull eunts/minigo