[hibernate-dev] [infinispan-dev] [HSearch] DSL for Lucene queries (was: Re: Query module new
Emmanuel Bernard
emmanuel at hibernate.org
Sun Sep 27 06:20:43 EDT 2009
On 27 sept. 09, at 12:08, Manik Surtani wrote:
> Lexers are parsers are not difficult (a simple ANTLR grammar takes
> very little effort, for example), but that is orthoginal to this
> discussion. I believe the very term DSL is misleading (since DSL
> implies a separate grammar), but this is more for an intuitive
> builder API for query creation. And yes, while this does imply
> knowledge of the API, it is certainly far less verbose and more
> expressive than the existing query construction mechanism.
That's untrue. External DSLs imply a separate grammar. Internal DSLs
imply using the hosting language to create a fluent API.
More information about the hibernate-dev
mailing list