3 :ID: d45a7a24-5639-4d7e-be02-603f3764325e 6 :ID: 44a015b3-9f25-4909-a61f-daa21a6baa6c
7 Queries are extremely important in software development and having a
8 robust query engine is a must for CC.
10 Our goal is to develop a query-language compiler (Q) which can be
11 tuned at compile-time to meet the needs of any database backend.
13 The query languages that interest us most are derived from Prolog
14 (/datalog) and SQL, but we won't be supporting all of their features -
15 only the ones that can be reasonably coerced to all supported frontends.
17 Q will require an Intermediate Representation (IR) - the encoding will
18 be based on S-expressions with a specialized reader.