Skip to content

papablopo07/pireal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*** πreal |test| |issues|***

Pireal is an educational tool for working with relational database using the query language of relational algebra. Currently under development.

image

Platforms

  • GNU/Linux
  • Windows
  • Mac OS X

Running

Running from sources

Requirements

Clone the repository: :

git clone https://github.com/centaurialpha/pireal.git

or download the .zip file and running: :

cd pireal
python pireal.py

Syntax

  • Semicolon at the end of each line is not necessary
  • SQL style comments
-- This is a comment on Pireal
-- Other comment
  • Valid queries
q1 = people njoin skills
q2 = select age > 25 (q1)
q3 = project id, name, skill (q2)

or

project id, name, skill (select age > 25 (people njoin skills))

Implemented Operators

The operations are defined in this file.

  • Selection
  • Projection
  • Rename
  • Product
  • Union
  • Difference
  • Natural Join
  • Intersection
  • Division

Demo

image

Author

Gabriel Acosta

About

Educational tool for working with relational algebra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%