Skip to content

Add MiniSQLite educational prototype - #1

Open
xiaoruidu3 wants to merge 1 commit into
masterfrom
codex/create-a-minimal-project-for-practice
Open

Add MiniSQLite educational prototype#1
xiaoruidu3 wants to merge 1 commit into
masterfrom
codex/create-a-minimal-project-for-practice

Conversation

@xiaoruidu3

Copy link
Copy Markdown
Owner

Summary

  • add a contrib/minisqlite playground that mirrors SQLite’s parser/VM/database layers on a much smaller scale
  • implement a tiny SQL parser, in-memory storage engine, and execution loop behind a REPL shell
  • document build instructions and provide a Makefile for compiling the standalone prototype

Testing

  • cd contrib/minisqlite && make
  • cd contrib/minisqlite && ./minisqlite <<'EOF' CREATE TABLE users (id INT, name TEXT); INSERT INTO users VALUES (1, Alice); SELECT * FROM users; .exit EOF

https://chatgpt.com/codex/tasks/task_e_690a5313bce08325bf93769f78091783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant