pedroakiradanno / mini-db Goto Github PK
View Code? Open in Web Editor NEWThis project forked from anishbasu/mini-db
Tiny Database Engine written in C
This project forked from anishbasu/mini-db
Tiny Database Engine written in C
File Format: There are 2 files: <name>.meta - This stores the table metadata for the database <name>.db - This stores the row information for the database Each row is has a pack/unpack function for serialization. They are self contained, and support generics. The structs are written to memory first before being written to the disk. Table Struct Packing: table size|name|field types|address of first row Row Struct Packing: row size|field types|fields Strings are contained both ways, with preceeding sizes and a null terminator. Requirements: CMake (version 3.13 or above), GCC Running: Create a directory `build/` inside the root folder and `cd` into it. Run `cmake ..` followed by `make`. A few demo SQL queries are present in test_sql.sql NOTES: I'm sorry this code isn't well commented. I spent a lot of time working with it and still had to finish a big part of it on Sunday. However, I am glad the database works as I wanted to and has a lot of error checking, especially in the SQL syntax. Check out the lexer and parser for some LL(1) fun.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.