DiceDB / dice

DiceDB is a redis-compliant, reactive, scalable, highly-available, unified cache optimized for modern hardware.
https://dicedb.io/
Other
6.86k stars 1.09k forks source link

feat: dsql grammar and parser implementation #1230

Open manojpramesh opened 3 weeks ago

manojpramesh commented 3 weeks ago

Ref: https://github.com/DiceDB/dice/issues/1228

This is a draft implementation of dsql grammar using antlr4. Improves the performance of query executer and avoids retrofitted error handling.

This code can be further cleaned, but would wait for the initial review considering it is a total rewrite of how DSQL is handled

JyotinderSingh commented 2 weeks ago

This is a super interesting PR, I'll go through it soon.

manojpramesh commented 11 hours ago

@JyotinderSingh Fixed the build issues and rebased with latest changes. Will wait for the initial review (no hurry) before adding more features considering it is a rewrite and the team may have different views.