Skip to content
This repository was archived by the owner on Apr 30, 2022. It is now read-only.
/ go-eval Public archive

the beginning of an interpreter for Go (fork off exp/eval)

License

Notifications You must be signed in to change notification settings

sbinet/go-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

34e0159 · May 21, 2016

History

84 Commits
Nov 12, 2014
Apr 10, 2012
May 21, 2016
Jul 12, 2011
May 21, 2016
Jan 13, 2014
Jan 13, 2014
Jan 13, 2014
Jan 13, 2014
Jan 13, 2014
Jan 13, 2014
Sep 12, 2014
Jan 13, 2014
Sep 12, 2014
May 20, 2016
May 21, 2016
Jan 13, 2014
Jan 13, 2014
Jan 13, 2014
May 20, 2016

Repository files navigation

go-eval

Build Status GoDoc

This is the new home for the exp/eval package: the beginning of an interpreter for Go.

Installation

$ go get github.com/sbinet/go-eval/...

Usage

$ go-eval
:: welcome to go-eval...
(hit ^D to exit)
> hello := "world"
> println(hello)
world
>

Documentation

http://godoc.org/github.com/sbinet/go-eval

Limitations (aka TODO)

  • channels are not implemented
  • imports are not implemented
  • goroutines are not implemented
  • consts are not implemented
  • select is not implemented

Interpreter

The go-eval command is rather barebone. But there is igo which is built on top of the eval package and provides some additional refinements.

See:

$ go get github.com/sbinet/igo