Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vlang/go2v
Go => V source code translator
https://github.com/vlang/go2v
Last synced: 7 days ago
JSON representation
Go => V source code translator
- Host: GitHub
- URL: https://github.com/vlang/go2v
- Owner: vlang
- License: gpl-2.0
- Created: 2021-07-09T04:57:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T18:10:12.000Z (about 2 months ago)
- Last Synced: 2024-09-16T22:26:53.172Z (about 2 months ago)
- Language: V
- Size: 538 KB
- Stars: 164
- Watchers: 29
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Go2V
Uses JSON Go AST generated by go/parser.
Early stage.
## Requirements:
Go v1.20 or later - make sure `go/bin` is in your path.The latest version of [asty](https://github.com/asty-org/asty), but
the code will install it for you the first time you run `go2v`, _if_
it can find `go` in your path.## Testing
To run the existing tests, do `v test .`
To attempt a new test, specify the path to the directory as well as
the name of the test:```bash
v .
./go2v untested/block
```When a test passes, move it from `untested` to `tests`.