go2v
go2v copied to clipboard
Go => V source code translator
Go code: ```go package main import "fmt" func main() { matrix := [][]int{ {1, 2, 3}, {4, 5, 6}, {7, 8, 9}, } fmt.Printf("%v\n", matrix) } ``` go2v translates this...
As always, this update comes with other various updates/tweaks/fixes that I'll detail later
`go2v "D:\[Downloads]\go2v-main\asd\ss.go" -o "D:\[Downloads]\go2v-main\asd\ss.v"` src: ```go package main import ( "bytes" "net" "sync" "github.com/df-mc/atomic" ) //delete any line from here and everything will be ok type Conn struct { rtt...
BTW just investigating. go code here: https://github.com/splace/table (chosen due to simplicity) ``` converting "table/table.go" -> "tablev/table/table.v" ================ V panic ================ module: builtin function: at() message: string index out of range:...