{"id":17086950,"url":"https://github.com/jrmurr/sqljr","last_synced_at":"2025-07-01T05:05:24.261Z","repository":{"id":99516075,"uuid":"580980311","full_name":"JRMurr/SQLJr","owner":"JRMurr","description":"Toy DB to get more sytems expereince","archived":false,"fork":false,"pushed_at":"2023-05-08T23:18:09.000Z","size":178,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-25T02:49:01.942Z","etag":null,"topics":["database","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JRMurr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-22T00:24:54.000Z","updated_at":"2025-02-06T14:24:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5313504-21fd-4676-8f0c-1a210f6284f6","html_url":"https://github.com/JRMurr/SQLJr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JRMurr/SQLJr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRMurr%2FSQLJr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRMurr%2FSQLJr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRMurr%2FSQLJr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRMurr%2FSQLJr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JRMurr","download_url":"https://codeload.github.com/JRMurr/SQLJr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRMurr%2FSQLJr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262900187,"owners_count":23381662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","rust"],"created_at":"2024-10-14T13:29:53.919Z","updated_at":"2025-07-01T05:05:24.250Z","avatar_url":"https://github.com/JRMurr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLJr\nToy DB to get more systems experience\n\n\n## TODO\n\n- General\n  - Make a schema aware row struct\n- Repl\n  - Handle multiline queries (maybe streaming nom might work?)\n- Parser\n  - Would be cool to make a combinator/macro that is tuple where each elem is separated by whitespace\n  - Would be cool to make a macro for SqlQuery that auto makes the alt with each variant\n    - Errors\n      - https://fasterthanli.me/series/advent-of-code-2022/part-11#nice-parser-errors\n      - https://www.reddit.com/r/rust/comments/p9t3jh/miette_a_fancy_new_diagnostics_definition_and/ha0wl0q/\n      - look at https://github.com/swc-project/swc/tree/main/crates/swc_error_reporters/src for error reporting\n\n## Resources\n- [Nom sql parser](https://github.com/ms705/nom-sql)\n- [DB walk through](https://cstack.github.io/db_tutorial/)\n- [Nom combinators](https://github.com/Geal/nom/blob/main/doc/choosing_a_combinator.md)\n- [Searlization/page stuff](https://www.reddit.com/r/rust/comments/ukz786/rust_way_of_dealing_with_memory_allocation/)\n- [Miette (errors)](https://docs.rs/miette/latest/miette/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrmurr%2Fsqljr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrmurr%2Fsqljr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrmurr%2Fsqljr/lists"}