An open API service indexing awesome lists of open source software.

https://github.com/bgcicca/gopherpy

GopherPY Golang transpiler, transpiles Python code to Go.
https://github.com/bgcicca/gopherpy

go golang gopher gopherjs

Last synced: 4 months ago
JSON representation

GopherPY Golang transpiler, transpiles Python code to Go.

Awesome Lists containing this project

README

        

## GopherPy

![logo](./img/logo.png)

Gopher is a transpiler that transfers basic codes written in Python to basic codes written in Go. If you want to know more about how the transpiler works, read the documentation.

### Usage

```go run main.go ```

### Example

* Input code:

```Python
def soma(a, b):
return a + b

if __name__ == "__main__":
print(soma(1, 2))
```

* Output code:

```Golang
func soma(a,() {a + b
}
```