Merge branch 'LUCY-281-cgo-port' Port host-specific implementation code to Go/CGO instead of wrapping the C bindings.
RegexTokenizer now uses the Go `regexp` package instead of requiring pcre. It references `regexp` objects from C using a variant on the Nick Wellnhofer's object registry code. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/eded0db3 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/eded0db3 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/eded0db3 Branch: refs/heads/master Commit: eded0db313e0550bfce7ded3ac9642a7e626e22b Parents: 25d664c 5f00a21 Author: Marvin Humphrey <[email protected]> Authored: Mon Aug 3 14:57:17 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Mon Aug 3 14:57:17 2015 -0700 ---------------------------------------------------------------------- c/src/Lucy/Analysis/RegexTokenizer.c | 7 - common/charmonizer.c | 2 +- common/charmonizer.main | 2 +- core/Lucy/Analysis/RegexTokenizer.cfh | 6 - example-lang/src/Lucy/Analysis/RegexTokenizer.c | 5 - go/cfext/lucy.c | 185 ++++++++ go/lucy/lucy.go | 463 ++++++++++++++++++- go/lucy/lucy_test.go | 10 + go/lucy/registry.go | 135 ++++++ go/lucy/registry_test.go | 84 ++++ perl/xs/Lucy/Analysis/RegexTokenizer.c | 75 +-- 11 files changed, 898 insertions(+), 76 deletions(-) ----------------------------------------------------------------------
