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.
- Host: GitHub
- URL: https://github.com/bgcicca/gopherpy
- Owner: bgcicca
- Created: 2024-09-26T21:01:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T22:02:25.000Z (9 months ago)
- Last Synced: 2025-02-14T02:11:38.888Z (5 months ago)
- Topics: go, golang, gopher, gopherjs
- Language: Go
- Homepage:
- Size: 538 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## GopherPy

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 + bif __name__ == "__main__":
print(soma(1, 2))
```* Output code:
```Golang
func soma(a,() {a + b
}
```