Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodus/go-transpiler
Command-Line utility for compiling Go to Java or C++ using tardisgo or to JavaScript using GopherJS
https://github.com/theodus/go-transpiler
Last synced: about 12 hours ago
JSON representation
Command-Line utility for compiling Go to Java or C++ using tardisgo or to JavaScript using GopherJS
- Host: GitHub
- URL: https://github.com/theodus/go-transpiler
- Owner: Theodus
- License: mit
- Created: 2015-10-16T23:20:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T20:10:13.000Z (over 2 years ago)
- Last Synced: 2024-06-20T15:52:26.859Z (5 months ago)
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 27
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-transpiler
Command-Line utility for compiling Go to Java or C++ using tardisgo or to JavaScript using GopherJS
![goreportcard](http://goreportcard.com/badge/theodus/go-transpiler)
## Usage
Be sure that your GOPATH is set and the bin directory is added to PATH:
```
export GOPATH="path/to/gocode"
export PATH=$PATH:$GOPATH/bin
```
Be sure that Haxe version 3.2.0 or greater is installed for tardisgoGo get and install this package:
```
go get -u github.com/theodus/go-transpiler
```
Compile your code to Java:
```
go-transpiler java myGoPackage
```
Or C++:
```
go-transpiler cpp myGoPackage
```
Or JS:
```
go-transpiler js myGoPackage
```## More information on TARDIS Go
Check out the GitHub repository at https://github.com/tardisgo/tardisgo
or the website at https://tardisgo.github.io## More information on GopherJS
Check out the GitHub repository at https://github.com/gopherjs/gopherjs
## License
MIT license, found in LICENSE file
### Any information on bugs or reccomendations on how to make this tool better would be greatly appreciated.