vlang / go2v

Go => V source code translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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, 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 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.

About

Go => V source code translator

License:GNU General Public License v2.0


Languages

Language:V 76.7%Language:Go 23.0%Language:AMPL 0.2%