incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-dev] Host QueryParser reimplementations
Date Sat, 30 Apr 2011 18:50:54 GMT
Marvin Humphrey wrote on 4/30/11 1:06 PM:

> How about simply LucyX::Search::QueryParser for the name of this distribution?
> The distinguishing characteristic of the proposed project is that it is a
> faithful reimplementation of the Lucy::Search::QueryParser.  There aren't
> supposed to be any behavioral differences -- so in this case, it's arguably
> appropriate to distinguish only on Lucy/LucyX.
> 
> Then, for the actual classes, perhaps we should name them based on the parser
> generator they use.
> 
>     LucyX::Search::QueryParser::PRD       <---- Parse::RecDescent (Perl)
>     LucyX.Search.QueryParser.PyParsing    <---- PyParsing (Python)
>     LucyX.Search.QueryParser.PLY          <---- PLY (Python)
>     LucyX::Search::QueryParser::TreeTop   <---- TreeTop (Ruby)
> 
> Since there's no expectation that these classes will ever have C
> implementations, we're not bound by Clownfish's naming constraint that the
> last element of the class name identify the class completely, and we can use
> the naming convention that people seemed to prefer from the user list
> discussion a few weeks ago.

+1

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message