Skip to content

jerinphilip/mini-sql-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniSQL Engine

Moving this to a standalone repository. This was originally (over)done for a database introductory course in Monsoon '17.

Assumes only need to implement an engine which takes in SQL and processes it with correctness - speed is not taken into account.

Rough Guide

├── dtype # Data Structures
│   ├── __init__.py
│   ├── dops.py             # Data <Op> Data (2 + 3)
│   ├── ops.py              # Table <Op> Table (A UNION B)
│   └── table.py            # Table DataType
│ 
├── sqlparser               # Parser, AST Building
│   ├── ast.py              # AST
│   ├── __init__.py         # Main parsing code using pyparsing
│   └── main.py             # sample file with __init__.py builds on
│ 
├── engine.py               # Interpreter Logic/Pattern
└── store.py                # Holding tables mapped to their names
├── parser.py               # Parser for provided data
├── own-samples.txt
├── sample.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages