https://github.com/visualfc/ispx_org
github.com/goplus/spx interp demo
https://github.com/visualfc/ispx_org
Last synced: about 1 year ago
JSON representation
github.com/goplus/spx interp demo
- Host: GitHub
- URL: https://github.com/visualfc/ispx_org
- Owner: visualfc
- License: apache-2.0
- Created: 2021-12-21T23:56:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-22T14:05:30.000Z (over 4 years ago)
- Last Synced: 2025-01-17T09:47:24.763Z (over 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ispx github.com/goplus/spx interp command
### install ispx
Go 1.16
```
go get github.com/visualfc/ispx
```
Go 1.17
```
GOEXPERIMENT=noregabi go get -v github.com/visualfc/ispx
```
### ispx command
```
ispc [-dumpsrc|-dumppkg|-dumpssa] dir
-dumppkg
print import packages
-dumpsrc
print source code
-dumpssa
print ssa code information
```
### run spx demo
* install ispx
```
$ GOEXPERIMENT=noregabi go get -v github.com/visualfc/ispx
```
* get spx tutorial
```
$ git clone https://github.com/goplus/spx
```
* run spx demo
```
$ ispx spx/tutorial/04-Bullet
```
* run on demo work directory
```
$ cd spx/tutorial/04-Bullet
$ ispx .
```