Relational algebra parsing tools.
RAPT uses a syntactic and semantic understanding of RA to transform input statements into a variety of outputs, including LATEX formatted queries, parse tree diagrams, and executable SQL statements.
To use RAPT, create an instance of rapt.rapt.Rapt, and use the desired methods. Optionally, you can pass in keyword arguments that define the relational algebra grammar and syntax. config/default.json contains an example.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.