Replies: 2 comments
-
I am obvisouly not considering the option of transpiling my syntax into Cozo Script as it will add complexity and latency. I think the second idea mentioned above is a better option than transpiling. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Absolutely +1 to this.
…On 22 Nov 2023 at 03:04 -0800, Alejandro M. Ramallo ***@***.***>, wrote:
I am obvisouly not considering the option of transpiling my syntax into Cozo Script as it will add complexity and latency. I think the second idea mentioned above is a better option than transpiling.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am evaluating Cozo for several projects and I am trully impressed by it so far, so thanks for the hard work in making this an OSS project.
I have a background in Datalog (having implemented a distributed semantic graph store with a distributed datalog evaluator) and I am curious about some key Cozo syntax decisions and wondering how I could go about implementing an alternative syntax.
I am thinking about two alternatives:
run_ast
function which takes a valid Cozo AST generated externally (by my syntax parser).In addition, a couple of key questions regarding some syntax decisions:
*
prefix for extensional relations (stored relations). Why does Cozo need the user to distinguish between internsional (constant rules) and extensional relations given that Cozo evidently has a system catalogue containing all extensional relations?<-
and<~
. Any particular reason the parser will need this hint, as opposed to recognising the body contains a Fixed Rule atom?The above questions are not intended as critique of the syntax but to understand how I would need to go about adding support for a different syntax that would allow me to migrate or integrate Cozo into my existing system.
I am new to Rust too, so any pointers on how I could go about implementing the above would be trully appreciated.
Beta Was this translation helpful? Give feedback.
All reactions