Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbinet/igo

A simple interactive Go interpreter built on go-eval with some readline-like refinements
https://github.com/sbinet/igo

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

igo
===

A simple interactive Go interpreter built on [go-eval](https://github.com/sbinet/go-eval) with some readline-like refinements

## Example

```sh
$ 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](https://github.com/sbinet/go-eval)