A simple interactive Go interpreter built on go-eval with some readline-like refinements
Go
Switch branches/tags
Latest commit 77caab3 Sep 26, 2014 @sbinet doc: fix link to go-eval
Permalink
Failed to load latest commit information.
LICENSE first import Sep 3, 2010
README.md doc: fix link to go-eval Sep 26, 2014
main.go igo: use filepath instead of path Jul 1, 2014

README.md

igo

A simple interactive Go interpreter built on go-eval with some readline-like refinements

Example

$ igo
igo> func f() { println("hello world") }
igo> f()
hello world
igo> type Foo struct {
...   A int
...  }
...  
igo> foo := Foo{A:32}
igo> foo
{32}
igo> foo.A
32

Documentation

http://godoc.org/github.com/sbinet/igo

TODO

  • implement code completion

    • with gocode ?
  • code colorization ?

  • see TODOs of go-eval