You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/07 22:14:06 UTC

[lucy-commits] svn commit: r1133141 - in /incubator/lucy/trunk/example-lang: ./ README

Author: marvin
Date: Tue Jun  7 20:14:06 2011
New Revision: 1133141

URL: http://svn.apache.org/viewvc?rev=1133141&view=rev
Log:
Add "example-lang" directory, which will serve as a template to follow when
adding a new language binding to Lucy/Clownfish.

Added:
    incubator/lucy/trunk/example-lang/
    incubator/lucy/trunk/example-lang/README

Added: incubator/lucy/trunk/example-lang/README
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/example-lang/README?rev=1133141&view=auto
==============================================================================
--- incubator/lucy/trunk/example-lang/README (added)
+++ incubator/lucy/trunk/example-lang/README Tue Jun  7 20:14:06 2011
@@ -0,0 +1,30 @@
+The "example-lang" directory contains a template for adding a language binding
+to Lucy and its object model layer, Clownfish.  See the DevGuide for an
+overview of Lucy's layers:
+
+    http://incubator.apache.org/lucy/docs/perl/Lucy/Docs/DevGuide.html
+
+The C files within "example-lang/src" contain stubs for C functions whose
+interfaces are defined within "trunk/core".  These functions fill in the
+missing pieces of the puzzle.  Once they are all implemented correctly, Lucy
+will theoretically build and pass its tests.
+
+Some of Lucy's classes really ought to be grouped with Clownfish, as they form
+something similar to a free floating "standard library" and are not
+search-related.  At some point everything under Lucy::Object will probably
+migrate to a new namespace:
+
+    Lucy::Object::Obj       => Clownfish::Obj
+    Lucy::Object::CharBuf   => Clownfish::CharBuf
+    Lucy::Object::VArray    => Clownfish::VArray
+    Lucy::Object::Hash      => Clownfish::Hash
+    Lucy::Object::BitVector => Clownfish::BitVector
+    ...
+
+Other, search-related classes belong with Lucy itself, but are represented
+here because they lack one or more implementing functions:
+
+    Lucy::Document::Doc
+    Lucy::Analysis::RegexTokenizer
+    Lucy::Index::Inverter
+    ...