Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sbinet/igo
- Owner: sbinet
- License: other
- Archived: true
- Created: 2012-07-07T15:42:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T11:26:33.000Z (over 4 years ago)
- Last Synced: 2024-07-31T12:07:50.801Z (3 months ago)
- Language: Go
- Homepage:
- Size: 243 KB
- Stars: 655
- Watchers: 31
- Forks: 74
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- favorite-link - 一个简单的交互式 Go 解释器。
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)