droundy / equilia

A fun database
1 stars 0 forks source link

Implement `Lexer` for parsing query #13

Closed guerinoni closed 1 year ago

guerinoni commented 1 year ago

Signed-off-by: Federico Guerinoni guerinoni.federico@gmail.com

guerinoni commented 1 year ago

Looking nice. I imagine you'll be creating an Iterator<Item = Token> or something like that?

Not sure how parse a full query in AST with a meaningful logic but probably yes... I would have at least a minimum query executor for starting looking at our pages or btree for having a big picture... Is still blurry