PhVHoang / dead-simple-sqlite3

Simulate sqlite engine (undergoing)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dead-simple-sqlite3 (this side project is undergoing...)

Sqlite?

  • A database engine
  • Allows users to interact with a relational database
  • A database is stored in a single file

Sqlite structure

Screen Shot 2021-06-23 at 17 27 39

REPL

  • Added simple REPL

Screen Shot 2021-06-23 at 23 56 07

Barebone Core/Compiler

Screen Shot 2021-06-25 at 0 24 10

Replace naive Compiler with sqlparser

Replace naive implemeted compiler with this sqlparser library.

Screen Shot 2021-06-26 at 0 39 52

Implement insert

Screen Shot 2021-06-26 at 1 46 27

TODO

  • Core structure
  • SQL Parser
  • Basic statement (insert)
  • [] ...

References

This project is heavily borrowed from

  1. https://cstack.github.io/db_tutorial/parts/part1.html
  2. https://www.youtube.com/watch?v=yFGPiftpIJY

About

Simulate sqlite engine (undergoing)

License:MIT License


Languages

Language:Go 100.0%