Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
SQLite rewrite in Rust. 40+ crate workspace.
Sign in to like and favorite skills
SQLite rewrite in Rust. 40+ crate workspace.
cargo build # build. never build with release. cargo test # rust unit/integration tests cargo fmt # format (required) cargo clippy --workspace --all-features --all-targets -- --deny=warnings # lint cargo run -q --bin tursodb -- -q # run the interactive cli make test # TCL compat + sqlite3 + extensions + MVCC make test-single TEST=foo.test # single TCL test make -C testing/runner run-rust # sqltest runner (preferred for new tests)
limbo/ ├── core/ # Database engine (translate/, storage/, vdbe/, io/, mvcc/) ├── parser/ # SQL parser (lexer, AST, grammar) ├── cli/ # tursodb CLI (REPL, MCP server, sync server) ├── bindings/ # Python, JS, Java, Dart, .NET, Go, Rust ├── extensions/ # crypto, regexp, csv, fuzzy, ipaddr, percentile ├── testing/ # simulator/, concurrent-simulator/, differential-oracle/ ├── sync/ # engine/, sdk-kit/ (Turso Cloud sync) ├── sdk-kit/ # High-level SDK abstraction └── tools/ # dbhash utility
| Task | Location | Notes |
|---|---|---|
| Query execution | | 12k LOC bytecode interpreter |
| SQL compilation | | AST → bytecode, optimizer in |
| B-tree/pages | | 10k LOC, SQLite-compatible format |
| WAL/durability | | Write-ahead log, checkpointing |
| SQL parsing | | 11k LOC recursive descent |
| Add extension | | ExtensionApi, scalar/aggregate/vtab traits |
| Add binding | | PyO3, NAPI, JNI, FRB, CGO patterns |
| Deterministic tests | | Fault injection, differential testing |
| New SQL tests | | format preferred |
EXPLAINRunning in GitHub Action? Max-turns limit in
.github/workflows/claude.yml. OK to push WIP and continue in another action. Stay focused, avoid rabbit holes.