I just posted the code for my VB.NET CQL parser here:
http://dli.grainger.uiuc.edu/cqlparser/cqlparser.zip
Note that this was originally written in VBScript for classic ASP and
recently ported to VB.NET, so I wouldn't consider it the best example of
quality VB.NET code, but it has been able to pass all the test queries
that I've thrown at it.
The actual parser is in APP_CODE\CQL.vb. It takes a CQL query string
and parses it into an XCQL XML tree, or it produces an SRU diagnostic
XML fragment if there was a problem.
Look at cqltest.aspx.vb for an example of how to use the parser, or run
the TestCQL.htm to test some queries.
Kind regards,
Tom
Roger Wallin wrote:
> Hi,
>
> I have also written a SRU-Server using a limited CQL-parser in VB.NET.
> Because my parser is still quite limited, I would appreciate to look at
> your parser.
>
> Regards RogerW.
>
>
>> On Fri, 22 May 2009 10:33:04 -0500, Thomas G. Habing <[log in to unmask]>
>> wrote:
>
>> I have a CQL parser written in VB.NET; if anyone is interested I could
>> post it somewhere.
>>
>> Regards,
>> Tom
>>
|