Is there a .NET CQL Parser?

I could not find the .NET (C #) CQL parser, despite my best efforts at Google. Does anyone have one that they would like to share or know if it exists? Thanks!

+6
source share
2 answers

If found this project (NCql), written in C #.

+4
source

Writing your own analyzer should be fairly simple, at least looking at the syntax. But the parser is not the hard part - the real work begins with translating the query expressions into equivalent syntax in other data sources.

If I was tasked with finding a solution here, then I would investigate the following approach:

  • Write CQL parser
  • Create a translation layer to enable LINQ
  • Additional LINQ libraries (LINQ for SQL, LINQ for objects, LINQ for yada-yada-yada)

As always, your mileage may vary.

0
source

Source: https://habr.com/ru/post/901038/


All Articles