Merge branch 'CLOWNFISH-28-POC-Go-take2b' The principle change in this branch is that instead of mapping abstract Clownfish classes to Go interfaces and all other classes to public Go structs, each class is now mapped to both an interface and a private Go struct whose name is prefixed with impl. For example, the class Foo would be mapped to an interface Foo and a struct implFoo.
This fixes CLOWNFISH-28. This closes #6. This closes #7. Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d8ecb8d3 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d8ecb8d3 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d8ecb8d3 Branch: refs/heads/master Commit: d8ecb8d3823c43e3fefcca9cf50aec7357b02280 Parents: ac2de38 004de88 Author: Marvin Humphrey <[email protected]> Authored: Mon Apr 6 16:57:43 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Mon Apr 6 16:57:43 2015 -0700 ---------------------------------------------------------------------- compiler/go/cfc/cfc.go | 55 ++++++++++++ compiler/include/CFC.h | 2 + compiler/src/CFCGo.c | 129 ++++++++++++++++++++++++++++ compiler/src/CFCGo.h | 63 ++++++++++++++ compiler/src/CFCGoTypeMap.c | 126 +++++++++++++++++++++++++++ compiler/src/CFCGoTypeMap.h | 36 ++++++++ runtime/go/build.go | 7 +- runtime/go/clownfish/clownfish.go | 81 ++++++++++------- runtime/go/clownfish/clownfish_test.go | 3 +- runtime/go/clownfish/err_test.go | 4 +- 10 files changed, 472 insertions(+), 34 deletions(-) ----------------------------------------------------------------------
