feat(tokenizer): string tokenizing

This commit is contained in:
Khaïs COLIN 2025-05-24 13:28:56 +02:00
parent f259b079b7
commit 00e9bc3b60
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU
4 changed files with 72 additions and 11 deletions

View file

@ -212,13 +212,22 @@ i will use rustyline, since it seems like the most feature-complete
* DONE remove uneeded error variants
* STRT parse integers
* DONE parse integers
** TODO Function to get a token until condition is false
** DONE Function to get a token until condition is false
** TODO Parse the integer
** DONE Parse the integer
* TODO parse strings
* DONE parse strings
* TODO better error message display for unclosed " in string
* TODO parse insert statements in the form
insert <id:int> <username:string> <email:string>
** TODO Row struct
** TODO parse row insert
** TODO serialize/deserialize row to/from raw bytes
*** TODO look for best practices for creating binary formats
* WAIT cli tests using insta-cmd
https://insta.rs/docs/cmd/