|
|
d568653a17
|
feat(parser): parse tokens into commands
|
2025-05-04 14:14:16 +02:00 |
|
|
|
f634da3318
|
refactor(TokenKind): remove unused kinds
|
2025-05-04 13:58:07 +02:00 |
|
|
|
80cbbab6ef
|
feat(ScanError) implement OSDBError trait
|
2025-05-04 13:56:59 +02:00 |
|
|
|
55b4779964
|
refactor(CommandParseError): remove the display implementation
we want to be able to give additional arguments to the display function later,
so this is needed
|
2025-05-04 13:45:09 +02:00 |
|
|
|
b8ed0868cb
|
feat(CommandParseError): add ScanError variand with Into impl
|
2025-05-04 13:38:07 +02:00 |
|
|
|
cbc4a4755c
|
feat(tokenizer): recognize meta-commands
|
2025-05-04 13:35:31 +02:00 |
|
|
|
825511a515
|
refactor(error): deduplicate error display code
|
2025-05-03 22:01:29 +02:00 |
|
|
|
fe6573b2de
|
feat(error): display location of error
|
2025-05-03 21:55:19 +02:00 |
|
|
|
51569d3ec2
|
feat(errors): display basic errors with ariadne
|
2025-05-03 21:51:25 +02:00 |
|
|
|
4246775db5
|
refactor(errors): error display function takes an input string to be able to resolve spans in the future
|
2025-05-03 21:30:36 +02:00 |
|
|
|
442c4b7beb
|
feat(error): display filename with the error message
|
2025-05-03 21:27:55 +02:00 |
|
|
|
32cfdfa07f
|
tests(cmd): ensure wrong meta commands are recognized
|
2025-05-03 21:22:37 +02:00 |
|
|
|
848775587e
|
tests(cmd): ensure wrong statements are recognized
|
2025-05-03 21:21:26 +02:00 |
|
|
|
92c50d6b65
|
tests(meta): ensure .exit works
|
2025-05-03 21:18:45 +02:00 |
|
|
|
47f174fb25
|
tests(cmd): ensure select statement works
|
2025-05-03 21:16:09 +02:00 |
|
|
|
75c3c74bba
|
tests(cmd): ensure insert statement works
|
2025-05-03 21:14:52 +02:00 |
|
|
|
1f90d0acc3
|
refactor(command): display command results from special function
|
2025-05-03 21:10:03 +02:00 |
|
|
|
4435b375ef
|
fix(exit): print exit message on exit via ctrl-d
|
2025-05-03 19:07:46 +02:00 |
|
|
|
7fbaec8743
|
test: ensure startup message is correct
|
2025-05-03 19:05:16 +02:00 |
|
|
|
6910407ad2
|
refactor(error_display): generic display method for error types
this is to better support ariadne in the future
|
2025-05-03 18:47:43 +02:00 |
|
|
|
e841a1779e
|
feat(parser): add tokenizer (not actually called)
|
2025-05-03 18:17:32 +02:00 |
|
|
|
5b6d878208
|
refactor(command): generic execute and result type
|
2025-05-02 20:54:12 +02:00 |
|
|
|
711d51090e
|
refactor(meta-command): have execute be a member function
|
2025-05-02 20:46:33 +02:00 |
|
|
|
ee23572983
|
refactor: pull things into own files, have a library
|
2025-05-02 20:43:55 +02:00 |
|
|
|
4848f2be2f
|
feat(devshell): install cargo semver-checks
|
2025-05-02 20:34:22 +02:00 |
|
|
|
a7876f76bf
|
feat(osdb): parse insert and select statements
|
2025-05-02 20:32:59 +02:00 |
|
|
|
a9ab0fff01
|
feat(osdb): basic read loop
|
2025-05-01 22:02:36 +02:00 |
|
|
|
6d0b96ef6c
|
feat(devenv): install additional usefull devtools
|
2025-05-01 21:07:09 +02:00 |
|
|
|
67cc2e8ca6
|
feat(devshell): install needed packages for lsp to work
|
2025-05-01 21:04:46 +02:00 |
|
|
|
d919ce2bc1
|
feat(nix): add package for the project
|
2025-05-01 20:51:33 +02:00 |
|
|
|
edc3a7b532
|
feat(rust): initialize rust project
|
2025-05-01 19:34:18 +02:00 |
|
|
|
75c366d508
|
feat(nix): devenv with flake
|
2025-05-01 19:34:07 +02:00 |
|