Skip to content

mattn/kinako

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kinako

Kinako is small VM written in Go.

(Picture licensed under CC BY-SA 3.0 by wikipedia)

Installation

Requires Go.

$ go get -u github.com/mattn/kinako

Usage

Embedding the interpreter into your own program:

var env = vm.NewEnv()

env.Define("foo", 1)
val, err := env.Execute(`foo + 3`)
if err != nil {
	panic(err)
}

fmt.Println(val)

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published