A python based go REPL like python command line to write and execute small go code snippets. If you want to test your go code snippets quickly or experiment with golang, please give it a try.
Use command "gointerpreter" to start the gointerpreter:
Go-interpreter requires
- Go and godoc binaries installed in your system path. please set your GOPATH before installing.
- Pretty printing for go pp
go get github.com/k0kubun/pp
- Showing documents requires godoc
clone this repository in your local machine and run following commands:
git clone https://github.com/vickeykumar/Go-interpreter.git
OS X & Linux:
cd Go-interpreter
sudo make install
Windows:
use gointerpreter.py directly to access the go REPL.
python gointerpreter.py
gointerpreter is greatly inspired by python like interactive shell/REPL where user can easily experiment with language and learn faster.
- Syntax completion
- Configuration
- API
Pretty Printing- Undoing input
Vickey Kumar [email protected]