Hello guys,
I’m Ochibobo, I’m new to language engineering/design and I have a question pertaining this designing query languages.
Assuming I’m designing a database system (including the engine, the index and the query language), and I use Flex/Bison or even Antlr to design my query language (parser and tokenizer), but the engine itself is written in another language (not the same one use in designing the query language). Eventually both systems have to communicate, meaning one would have to design a communication interface.
Is there a preferred protocol to achieve this (the communication bit)?
Assuming one opts for something similar to REST, is there a particular preferred format to use to achieve this, like sending a validated parse tree to the engine itself?
I’d appreciate your input on this matter.
Thanks.