# AlgCalcTranslator

AlgCalcTranslator is a simple translator from Relational Algebra to Relational Calculus and vice versa

## Installation


use the cmd to install the needed package PySimpleGui by using 'pip3 install --upgrade PySimpleGUI'


## Usage

algcaltranslator() opens the GUI where translations in both directions can be done as well as generating .tex and .pdf files
calctoalg.main() and algtocalc.main() can be used to quickly translate multiple expressions without the use of the GUI¨
please note that explicit joins must be given as an argument in curly brackets at the end of a relational algebra
or the program will not be able to join over explicit values. 
for example: \pi[Name](\sigma[Status != 'paid' \land Month<10](Orders)\bowtie(Customers){o.CID = c.CID}
