gopherDart

command module
v0.0.0-...-2041a8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

README

This repo has moved to: https://github.com/Workiva/GopherDart

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.

Supported

  • Generated code looks like it works 👍
  • Very preliminary dependency resolution
    • Recursive transpilation.
    • Outputs empty files for most Go builtin packages, due to transpilation failures.

Todo

  • goroutines

  • defer

  • recover

  • Various control statements

  • Function pointers

  • no support for go standard libraries

  • Cannot input functions as arguments

  • Labels

  • Pointers (StarExpr)

Not todo

  • goroutines

In progress

  • 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.

Documentation

Overview

This is a test.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL