SQLJr
SQLJr copied to clipboard
Toy DB to get more sytems expereince
SQLJr
Toy DB to get more systems experience
TODO
- General
- Make a schema aware row struct
- Repl
- Handle multiline queries (maybe streaming nom might work?)
- Parser
- Would be cool to make a combinator/macro that is tuple where each elem is separated by whitespace
- Would be cool to make a macro for SqlQuery that auto makes the alt with each variant
- Errors
- https://fasterthanli.me/series/advent-of-code-2022/part-11#nice-parser-errors
- https://www.reddit.com/r/rust/comments/p9t3jh/miette_a_fancy_new_diagnostics_definition_and/ha0wl0q/
- look at https://github.com/swc-project/swc/tree/main/crates/swc_error_reporters/src for error reporting
- Errors