Uses JSON Go AST generated by go/parser.
Early stage.
Run go install github.com/asty-org/asty@latest
.
Make sure that asty
is in your PATH.
To run the existing tests, do v run .
To attempt a new test, specify the path to the directory as well as the name of the test:
v .
./go2v untested/block
When a test passes, move it from untested
to tests
.