A SQL query compiler that parses SQL and produces logical query plan with associated cost
Lugi parses the SQL query and produces logical query plan. It can generate relational algebra formula (in LaTex) and represent logical query plan as expression tree.