This repo has moved to: https://github.com/Workiva/GopherDart
Go to Dart transpiler
To build
go build
To Run
./gopherDart /path/to/go/package
##Goal Take our go, serverside, code and transpile it into dart that can be run client side. Basically GopherJs, except with Dart.
- Generated code looks like it works 👍
- Very preliminary dependency resolution
- Recursive transpilation.
- Outputs empty files for most Go builtin packages, due to transpilation failures.
-
goroutines
-
defer
-
recover
-
Various control statements
-
Function pointers
-
no support for go standard libraries
-
Cannot input functions as arguments
-
Labels
-
Pointers (StarExpr)
- goroutines
-
Working on dependency resolution
-
Alex is learning Dart
-
Starting real testing.
-
Untested
#TODO Figure out how to deal with conditional compilation commands. Fix the millions of nil dereferences.
Probably should do major refactor for posterity.