Merge branch 'CLOWNFISH-28-POC-Go-bindings' Use mostly hand-rolled glue code for binding Go to limited portions of the Clownfish runtime. A more extensible code-generation approach can follow later, but the early version helps to flesh out the design.
This fixes CLOWNFISH-28. This closes #4. Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d0babb78 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d0babb78 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d0babb78 Branch: refs/heads/master Commit: d0babb78c858438ff47ce9eb6313051cf2e5f66e Parents: 5646bf0 0efb772 Author: Marvin Humphrey <[email protected]> Authored: Wed Mar 18 17:08:20 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Wed Mar 18 17:08:20 2015 -0700 ---------------------------------------------------------------------- compiler/common/charmonizer.c | 31 +++- compiler/common/charmonizer.main | 31 +++- compiler/go/INSTALL | 20 ++ compiler/go/build.go | 207 +++++++++++++++++++++ compiler/go/cfc/cfc.go | 161 ++++++++++++++++ compiler/go/cfc/cfc_test.go | 26 +++ compiler/include/CFC.h | 2 + runtime/common/charmonizer.c | 22 ++- runtime/common/charmonizer.main | 22 ++- runtime/go/INSTALL | 19 ++ runtime/go/build.go | 239 ++++++++++++++++++++++++ runtime/go/clownfish/clownfish.go | 194 ++++++++++++++++++++ runtime/go/clownfish/clownfish_test.go | 28 +++ runtime/go/clownfish/err_test.go | 42 +++++ runtime/go/ext/clownfish.c | 273 ++++++++++++++++++++++++++++ 15 files changed, 1295 insertions(+), 22 deletions(-) ----------------------------------------------------------------------
