Advanced Go Playground frontend written in Go, with syntax highlighting, turtle graphics mode, and more
Go Play Space is an experimental alternative Go Playground
frontend that is built in Go itself (using GopherJS),
a Go→JavaScript transpiler, and Vecty,
a React-like frontend library for GopherJS).
Go Play Space supports the Turtle graphics mode to help visualize algorithms and make learning experience more fun.
package
keywordPrintln
function name in source code, and you will seego imports
is always run before running your code, so you don’t usuallyCode execution is proxied to the official Go Playground, so your programs will work the same.
Shared snippets are also stored on golang.org servers.
Download the package:
$ go get -u github.com/iafan/goplayspace/...
Compile both client-side code and server binary:
$ cd $GOPATH/src/github.com/iafan/goplayspace/bin
$ ./build-client && ./build-server
Run the server:
$ ./goplayspace
Then open http://localhost:8080/ in your browser.
If you have trouble compiling the client, please make sure you have the latest version of GopherJS installed by running go get -u github.com/gopherjs/gopherjs
(see #6)
Feel free to provide your feedback, suggestions or bug reports here in the bug tracker, or message @afan in the Gophers Slack channel.
Gopher vector logo by Takuya Ueda,
licensed under the Creative Commons 3.0 Attributions license and based
on original artwork by Renee French.
See https://github.com/golang-samples/gopher-vector
Go proverbs: Rob Pike