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

https://github.com/tmc/ssaview

ssaview live-renders the SSA representation of a go program
https://github.com/tmc/ssaview

Last synced: 6 months ago
JSON representation

ssaview live-renders the SSA representation of a go program

Awesome Lists containing this project

README

          

ssaview
-------
http://golang-ssaview.herokuapp.com/

ssaview is a small utlity that renders SSA code alongside input Go code

Runs via HTTP on :8080

License: ISC

```sh
$ go get github.com/tmc/ssaview
$ ssaview &
$ open http://localhost:8080/
```

Ideas for extension:

- [ ] proper fullscreen ui
- [ ] allow selection in one editor to highlight the associated code in the other
- [ ] include interpreter

Deploying:

On Heroku: Uses custom buildpack to preserve GOROOT:

```sh
$ heroku buildpacks:set https://github.com/tmc/heroku-buildpack-go.gi
```

Screenshot:
![Example screenshot](https://github.com/tmc/ssaview/raw/master/.screenshot.png)