minigo

command module
v1.2.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 2 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL